I have the problem below when i run "ionic cordova run android" or when i build android, can same one help me plz.
When i run "cordova run android" i have this error, help me please.
BUILD FAILED in 7s 3 actionable tasks: 3 executed /Users/mac/Desktop/Projets/Magazine Anissati/anissatiapp/platforms/android/gradlew: Command failed with exit code 1 Error output: FAILURE: Build failed with an exception.
* What went wrong: Failed to capture fingerprint of input files for task ':app:preDebugBuild' property 'compileManifests' during up-to-datecheck.
In project 'app' a resolved Google Play services library dependency depends on another at an exact version (e.g. "[11.0. 4]", but isn't being resolved to that version. Behavior exhibited by the library will be unknown.
Dependency failing: com.google.android.gms:play-services-ads-lite:11.0.4 ->com.google.android.gms:play-services-basemen t@[11.0.4], but play-services-basement version was 17.0.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:[email protected] -- Project 'app' depends onto com.google.firebase:firebase-core@+ -- Project 'app' depends onto com.google.android.gms:[email protected] -- Project 'app' depends onto com.google.android.gms:[email protected] -- Project 'app' depends onto com.google.android.gms:[email protected] -- Project 'app' depends onto com.google.android.gms:[email protected] -- Project 'app' depends onto com.google.android.gms:[email protected] -- Project 'app' depends onto com.google.android.gms:[email protected] -- Project 'app' depends onto com.google.android.gms:[email protected] -- Project 'app' depends onto com.google.firebase:[email protected] -- Project 'app' depends onto com.google.android.gms:[email protected] -- Project 'app' depends onto com.google.android.gms:[email protected] -- Project 'app' depends onto com.google.firebase:[email protected] -- Project 'app' depends onto com.google.android.gms:[email protected] -- Project 'app' depends onto com.google.android.gms:[email protected] -- Project 'app' depends onto com.google.firebase:[email protected] -- Project 'app' depends onto com.google.android.gms:[email protected] -- Project 'app' depends onto com.google.firebase:[email protected] -- Project 'app' depends onto com.google.firebase:firebase-auth@+ -- Project 'app' depends onto com.google.firebase:[email protected] -- Project 'app' depends onto com.google.firebase:firebase-perf@+ -- Project 'app' depends onto com.google.android.gms:[email protected] -- Project 'app' depends onto com.google.firebase:[email protected] -- Project 'app' depends onto com.google.firebase:[email protected] -- Project 'app' depends onto com.google.firebase:[email protected] -- Project 'app' depends onto com.google.firebase:firebase-messaging@+ -- Project 'app' depends onto com.google.android.gms:play-services-tagmanager@+ -- Project 'app' depends onto com.google.firebase:[email protected] -- Project 'app' depends onto com.google.android.gms:[email protected] -- Project 'app' depends onto com.google.android.gms:[email protected] -- Project 'app' depends onto com.google.firebase:firebase-config@+ -- Project 'app' depends onto com.google.android.gms:[email protected] -- Project 'app' depends onto com.google.android.gms:[email protected] -- Project 'app' depends onto com.google.firebase:[email protected] -- Project 'app' depends onto com.google.android.gms:[email protected] -- Project 'app' depends onto com.google.firebase:[email protected] -- Project 'app' depends onto com.google.android.gms:[email protected] -- Project 'app' depends onto com.google.firebase:[email protected] -- Project 'app' depends onto com.google.android.gms:[email protected] 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.
I think this is a common build error.
You need a special plugin which will override the play services version so that everyone asks for the same version.
This plugin will provide that functionality:
appfeel/cordova-play-services-version-adapter: Cordova/Ionic Google Play Services Versions Incompatibility Adapter
To use it just type this into the console: