flutter_smart_auth
flutter_smart_auth copied to clipboard
Execution failed for task ':app:checkDebugAarMetadata'
trafficstars
I am getting this error message after adding pinput which is dependent on this repository
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not find com.google.android.gms:play-repositories-auth:20.1.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/google/android/gms/play-repositories-auth/20.1.0/play-repositories-auth-20.1.0.pom
- https://repo.maven.apache.org/maven2/com/google/android/gms/play-repositories-auth/20.1.0/play-repositories-auth-20.1.0.pom
- https://storage.googleapis.com/download.flutter.io/com/google/android/gms/play-repositories-auth/20.1.0/play-repositories-auth-20.1.0.pom
Required by:
project :app > project :smart_auth
> Could not find com.google.android.gms:play-repositories-auth-api-phone:18.0.1.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/google/android/gms/play-repositories-auth-api-phone/18.0.1/play-repositories-auth-api-phone-18.0.1.pom
- https://repo.maven.apache.org/maven2/com/google/android/gms/play-repositories-auth-api-phone/18.0.1/play-repositories-auth-api-phone-18.0.1.pom
- https://storage.googleapis.com/download.flutter.io/com/google/android/gms/play-repositories-auth-api-phone/18.0.1/play-repositories-auth-api-phone-18.0.1.pom
Required by:
project :app > project :smart_auth
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 42s
Exception: Gradle task assembleDebug failed with exit code 1
@AsimBhadra Could you try https://stackoverflow.com/questions/50791632/could-not-find-any-version-that-matches-com-google-android-gmsplay-services-bas ?
I have tried all possible solutions but none of them seem to work.
In the version 3.0.0 the com.google.android.gms:play-repositories-auth-api-phone:18.0.1 was removed so the issue should be fixed.