I build an android webrtc app but when adding webrtc to the android studio project (implementation ‘org.webrtc:google-webrtc:1.0.+’), I get this error : Failed to resolve: org.webrtc:google-webrtc
How to add webrtc to an android app ?
I build an android webrtc app but when adding webrtc to the android studio project (implementation ‘org.webrtc:google-webrtc:1.0.+’), I get this error : Failed to resolve: org.webrtc:google-webrtc
How to add webrtc to an android app ?
5
Answers
Currently it seems we are forced to keep jcenter, a deprecated repository, to install this package. Jcenter remain readonly and is not removed for now.
For production you could considere making your own build.
you can check this issue from twillio
//Android => App => build.gradle
Try it with on maven central. I think this is the latest build based on the published date.
https://mvnrepository.com/artifact/org.webrtc/google-webrtc/1.0.32006
In app build.gradle:
In project build.gradle:
Just take the step:
and Replace in code:
☻♥ Done Keep Code
//In the settings.gradle file
}