Ionic application crash

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

My guess: Something is broken.

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?

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

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 Service End for Bintray, JCenter, GoCenter, and ChartCenter | JFrog) or updating the version of com.google.android.gms to 9.0.0.

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

what is solution for that?

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

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