Search code examples
androidcordovaionic-frameworkgoogle-play-servicesandroid-sdk-tools

Google Play services: Error while building ionic android app


I am creating new ionic application. In this app I have added Google Play services package revision no. 31. Also added package to my app cordova plugin add cordova-plugin-googleplus. This is used for google plus authentication.
So now I am facing problem while building android app using ionic build android. It gives me following error, enter image description here

But when I remove the package cordova plugin remove cordova-plugin-googleplus and build the app it succeeds.

Is it because of the revision number of googleplus package?


Solution

  • Found the solution,
    I have downgrade the following packages to previous revision.enter image description here

    Remember you need to restart your machine if you are using windows to reflect changes in android sdk.