flutter_smart_auth icon indicating copy to clipboard operation
flutter_smart_auth copied to clipboard

Execution failed for task ':app:checkDebugAarMetadata'

Open AsimBhadra opened this issue 3 years ago • 2 comments
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 avatar Apr 28 '22 09:04 AsimBhadra

@AsimBhadra Could you try https://stackoverflow.com/questions/50791632/could-not-find-any-version-that-matches-com-google-android-gmsplay-services-bas ?

Tkko avatar Apr 28 '22 10:04 Tkko

I have tried all possible solutions but none of them seem to work.

AsimBhadra avatar Apr 28 '22 12:04 AsimBhadra

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.

Tkko avatar Dec 20 '24 17:12 Tkko