大佬教程收集整理的这篇文章主要介绍了无法解析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" }
}
我在我的android工作室项目中有以下gradle代码,它仍然给我一个错误“无法解决com.android.billingclient:billing:dp-1”,为什么它不会同步?我应该附加更多的东西吗?
allprojects { apply plugin: "eclipse" apply plugin: "idea" version = '1.0' ext { appName = "FidgetSpinner" gdxVersion = '1.9.6' roboVMVersion = '2.3.0' Box2DLightsVersion = '1.4' ashleyVersion = '1.7.0' aiVersion = '1.8.0' } repositories { mavenLocal() mavenCentral() maven { url "http://oss.sonatype.org/content/repositories/snapshots/" } maven { url "http://oss.sonatype.org/content/repositories/releases/" } jcenter() <<<<<<------------ ADD THIS LINE TO MAKE IT WORK }
以上是大佬教程为你收集整理的无法解析com.android.billingclient:billing:dp-1全部内容,希望文章能够帮你解决无法解析com.android.billingclient:billing:dp-1所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。