我尝试按照此链接将应用计费添加到我的应用中。
我将此添加到我的 build.gradle
dependencies {
...
compile 'com.android.billingclient:billing:dp-1'
}
但是当我 build->clean 项目时出现此错误
Error:A problem occurred configuring project ':android'.
> Could not resolve all dependencies for configuration
':android:_debugApkCopy'.
> Could not find com.android.billingclient:billing:dp-1.
Required by:
Mygame:android:1.0
我错过了什么?谷歌搜索时找不到任何有用的信息。我正在使用 libgdx 和 Android Studios。