Ionic application crash


#1

i installed google analytics plugin and firebase(fcm) plugins when open it crashing


#2

My guess: Something is broken.


#3

And for real: You have to provide more information.
What is your ionic info output?
How did you install what exactly? Provide links to the plugins and instructions you followed.
Does it happen if you install only one of both? Which one is causing the crash?


#4

I have been through this yesterday may be its the same. Can you please provide more information. What error your are getting?


#5

Execution failed for task ‘:processDebugGoogleServices’.

Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 9.0.0.


#6

Google play services has updated recently (20/mar/2018). May be this is why you are getting this error.


#7

what is solution for that?


#8

Can you post your project.properties file ? It is located in yourProject/platforms/andorid.


#10

target=android-25
android.library.reference.1=CordovaLib
cordova.system.library.1=com.android.support:support-v4:+
cordova.system.library.2=com.android.support:support-v4:26.+
cordova.system.library.3=com.android.support:appcompat-v7:26.+
cordova.gradle.include.1=com-sarriaroman-photoviewer/app-photoviewer.gradle
cordova.system.library.4=com.android.support:support-v4:+
cordova.system.library.5=com.google.android.gms:play-services-analytics:+
cordova.system.library.6=com.google.firebase:firebase-core:+
cordova.system.library.7=com.google.firebase:firebase-messaging:+
cordova.gradle.include.2=cordova-plugin-fcm/app-FCMPlugin.gradle