Failed to resolve: com.google.android.gms:play-services-tapandpay:17.1.2 Instruction from developers.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
I resolved my bug. I added to build.gradle