小编sod*_*rat的帖子

无法解析com.android.billingclient:billing:dp-1

project(":android") {
apply plugin: "android"
apply plugin: "com.android.application"

configurations { natives }

dependencies {
    compile project(":core")
    compile "com.android.billingclient:billing:dp-1"
    compile "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
    natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi"
    natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
    natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-arm64-v8a"
    natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86"
    natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86_64"
    compile "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
    natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-armeabi"
    natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-armeabi-v7a"
    natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-arm64-v8a"
    natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-x86"
    compile "com.google.android.gms:play-services-ads:11.0.0"
    compile "com.android.billingclient:billing:dp-1"


}
Run Code Online (Sandbox Code Playgroud)

}

我在我的android工作室项目中有以下gradle代码,它仍然给我一个错误"无法解决com.android.billingclient:billing:dp-1",为什么它不会同步?我应该附加更多的东西吗?

android gradle android-studio

7
推荐指数
1
解决办法
969
查看次数

标签 统计

android ×1

android-studio ×1

gradle ×1