Last time I build successfully but after adding the number of pages I am unable to build, I did search for that error a lot but nothing works for me.For example, add
I also faced this issued. I solved it via two steps:
Step 1 : cordova clean
Step 2: cordova build
Above commands didn't fix my problem.
I change the following line in project.properties in platforms folder
com.google.android.gms:play-services-analytics:11.0.1
to
com.google.android.gms:play-services-analytics:+
and it's fixed
I did struggle with this issue for 2 days after i used google maps plugin inside my app and i suppose it is because of google-play-service conflicts and i resolved it by install the latest grade release by using this command. Hope it helps anyone else facing this issue
ionic cordova plugin add cordova-android-play-services-gradle-release