ziv kesten
05/12/2022, 8:27 AMallprojects {
repositories {
google()
mavenCentral()
jcenter()
maven { url "file:/users/ziv.kesten" } // Local path to the folder into which you unzipped the SDK
}
}
To my project gradle file,
Anf that:
dependencies {
implementation 'com.google.android.gms:play-services-tapandpay:17.1.2'
}
To my grade.bulld
But i fail due to
Unable to resolve dependency for ':lemonade@staging/compileClasspath': Could not resolve com.google.android.gms:play-services-tapandpay:17.1.2.
Anyone knows what am i doing wrong?Chrimaeon
05/12/2022, 8:36 AM/users/ziv.kesten
?Chris Lee
05/12/2022, 1:00 PMrepositories {
flatDir {
dirs 'D:/path/to/local/directory'
}
}
or, alternately, directly do this with no repository definition:
dependencies {
compile files('/path/to/dir/something_local.jar')
}
Chrimaeon
05/12/2022, 1:03 PMChrimaeon
05/12/2022, 1:03 PMChris Lee
05/12/2022, 1:07 PMChrimaeon
05/12/2022, 1:09 PMChrimaeon
05/12/2022, 1:10 PMChris Lee
05/12/2022, 1:13 PMChrimaeon
05/12/2022, 1:14 PMmvn -Dmaven.repo.local=/my/local/repository/path
Chris Lee
05/12/2022, 1:17 PMChrimaeon
05/12/2022, 1:27 PMChrimaeon
05/12/2022, 1:28 PMChrimaeon
05/12/2022, 1:37 PMfile:/*pathto*/sdk/extras/google/m2repository/
https://stackoverflow.com/questions/68982591/failed-to-resolve-tapandpay-dependency-in-localziv kesten
05/12/2022, 1:48 PM