Could not find org.webrtc:google-webrtc:1.0.32006. Required by: project :app
Could not find org.webrtc:google-webrtc:1.0.32006. Required by: project :app
Although I tend to agree re-adding jcenter repo, due to that annoying lint warning using deprecated repo I'd like to suggest a different solution.
org.webrtc:google-webrtc:1.0.32006.libs folder.libs folder.I'll update this answer with code samples as soon as I'm able.
Download AAR file from the following link and save it in libs folder:
http://estigia.lsi.us.es:1681/artifactory/libs-release/org/webrtc/google-webrtc/1.0.32006/
Add this dependency to compile all files in libs folder:
implementation fileTree(dir: "libs", include: ["*.aar"])
I don't see any inner dependencies in the POM file so I think it should work.
It appears that they deliberately removed this option because of all sort of errors.
In the JetBrains ticket's comment they offer to create a local maven repo and use it:
Discussed with the Android Studio team. This option was deliberately removed, because of technical problems it introduces which often results in broken packages. Proper way to have local AAR dependency is local maven repository. E.g.
allprojects {
repositories {
maven {
url "file://${projectDir}/repo"
}
}
}
I'm guessing you only need to copy all of the artifacts from good old jcenter with the original file structure and naming convention.