ratson / cordova-plugin-admob-free

New development has been moved to "admob-plus-cordova", https://github.com/admob-plus/admob-plus/tree/master/packages/cordova
https://github.com/admob-plus/admob-plus
MIT License
499 stars 214 forks source link

When open capacitor android error #466

Open zaferkalyoncu opened 3 years ago

zaferkalyoncu commented 3 years ago

İ hava a problem

i followed this path npm install cordova-plugin-admob-free npm install @ionic-native/admob-free ionic cap sync ionic cap run android

How can i fix it ?

` 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-clearcut:11.0.4 -> com.google.android.gms:play-services-tasks@[ 11.0.4], but play-services-tasks 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:play-services-ads@11.0.4 -- Project 'app' depends onto com.google.android.gms:play-services-clearcut@{strictly 11.0.4} -- Project 'app' depends onto com.google.android.gms:play-services-ads@{strictly 11.0.4} -- Project 'app' depends onto com.google.android.gms:play-services-safetynet@{strictly 11.0.4} -- Project 'app' depends onto com.google.android.gms:play-services-base@{strictly 17.0.0} -- Project 'app' depends onto com.google.android.gms:play-services-tasks@{strictly 17.0.0} -- Project 'app' depends onto com.google.android.gms:play-services-base@11.0.4

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 = true }" to your bu ild.gradle file. `

CaturViriyananda commented 3 years ago

have you install this plugin : cordova-admob-sdk