【发布时间】:2021-08-30 10:30:08
【问题描述】:
无法解决:com.google.android.gms:play-services-tapandpay:17.1.2 developer.google 的说明:
dependencies {
// ...
implementation 'com.google.android.gms:play-services-tapandpay:17.1.0'
// Getting a "Could not find" error? Make sure you have added the unzipped SDK
// location to your root build.gradle file as a local maven dependency
}
allprojects {
// ...
repositories {
// ...
google() // Google's public Maven repository
maven { url "file:/path/to/your/repo/m2repository/" } // Local path to the folder into which you unzipped the SDK
}
}
ERROR:
Execution failed for task
> Could not resolve all files for configuration
> Could not find com.google.android.gms:play-services-tapandpay:17.1.2.
Required by:
project :app
我找不到正确的方法
【问题讨论】:
-
也发布错误以便更好地理解
-
您可以发布指向“developers.google”网站的链接并附上上述说明吗? official Google's maven repo中没有这样的工件(
play-services-tapandpay)... -
play-services-tapandpay - 这个库有私有访问权限。
标签: android gradle build.gradle android-tap-and-pay