ionicハイブリットアプリケーションのandoridのbuildの際に
BUILD FAILED in 9s 14 actionable tasks: 1 executed, 13 up-to-date /Users/##########/###########/platforms/android/gradlew: Command failed with exit code 1 Error output: FAILURE: Build failed with an exception. * What went wrong: In project 'app' a resolved Google Play services library dependency depends on another at an exact version (e.g. "[15.0. 1]", but isn't being resolved to that version. Behavior exhibited by the library will be unknown. Dependency failing: com.google.android.gms:play-services-auth:15.0.1 -> com.google.android.gms:play-services-auth-base@[ 15.0.1], but play-services-auth-base version was 15.1.0. The following dependencies are project dependencies that are direct or have transitive dependencies that lead to the art ifact with the issue. -- Project 'app' depends onto com.google.android.gms:play-services-auth@+ For extended debugging info execute Gradle from the command line with ./gradlew --info :app:assembleDebug to see the dep endency paths to the artifact. This error message came from the google-services Gradle plugin, report issues at https:// github.com/google/play-services-plugins and disable by adding "googleServices { disableVersionCheck = false }" to your b uild.gradle file. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. * Get more help at https://help.gradle.org BUILD FAILED in 9s [ERROR] An error occurred while running subprocess cordova. cordova build android exited with exit code 1. Re-running this command with the --verbose flag may provide more information.
こちらのエラーが発生しバージョンの競合を確認するために./gradlew app:dependencies
のコマンドを実行その際に
+--- com.google.firebase:firebase-core:+ -> 16.0.9 | \--- com.google.firebase:firebase-analytics:16.5.0 | +--- com.google.android.gms:play-services-measurement:16.5.0 -> 15.+ FAILED | +--- com.google.android.gms:play-services-measurement-api:16.5.0 -> 15.+ FAILED | \--- com.google.android.gms:play-services-measurement-sdk:16.5.0 -> 15.+ FAILED
このようなエラーが出ておりましこのfaildは適切なバージョンが入っていないものなのでしょうか?
ご教授いただけますと幸いです
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。