Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 229600

Ionic Pro not using correct Google Play Services Version

$
0
0

Check out the platforms/android/project.properties file, then you need to specify 11.8.0 for other plugins.

For example:

android.library.reference.1=CordovaLib
cordova.gradle.include.1=cordova-plugin-googlemaps/starter-build-extras.gradle
cordova.gradle.include.2=cordova-plugin-googlemaps/starter-tbxml-android.gradle
cordova.system.library.1=com.google.android.gms:play-services-maps:11.8.0
cordova.system.library.2=com.google.android.gms:play-services-location:11.8.0
cordova.system.library.3=com.android.support:support-core-utils:24.1.0

Also build.gradle file, you need to do the same thing.

dependencies {
    implementation fileTree(dir: 'libs', include: '*.jar')
    // SUB-PROJECT DEPENDENCIES START
    implementation(project(path: "CordovaLib"))
    compile "com.google.android.gms:play-services-maps:11.8.0"
    compile "com.google.android.gms:play-services-location:11.8.0"
    compile "com.android.support:support-core-utils:24.1.0"
    // SUB-PROJECT DEPENDENCIES END
}

Viewing all articles
Browse latest Browse all 229600

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>