Unable to resolve com.android.billingclient: billing: 1.0
•
Android
I have similar problems, such as here, but in my case, gradle cannot solve the billing library v1.0, even if I add the jcenter () repository to the build script:
buildscript {
repositories {
mavenLocal()
mavenCentral()
google()
jcenter()
maven {url "https://maven.fabric.io/public"}
}
dependencies {
classpath "com.android.tools.build:gradle:3.1.0"
classpath "com.google.gms:google-services:3.1.0"
classpath "io.fabric.tools:gradle:1.24.4"
}
}
resolvent:
I found a solution here. You need to http://jcenter.bintray.com Add to repository list:
repositories {
maven { url "https://jcenter.bintray.com" }
}
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码