Ionic Cordova Build Android is running into error about Google Services already being added in app.gradle

Hey everyone,

I’m in the process of trying to build my Ionic 3 app for Android but any time I run ionic cordova build android, I run into this error:

BUILD FAILED

        Total time: 2.797 secs
        Error:
        /Applications/MAMP/htdocs/bandly-app-mobile/platforms/android/gradlew:
        Command failed with exit code 1 Error output:
        FAILURE: Build failed with an exception.

        * What went wrong:
        A problem occurred configuring root project 'android'.
        > Cannot add task ':processArmv7DebugGoogleServices' as a task with that
        name already exists.

I followed this guide but I’m still running into this issue. Has anyone else run into this and have an idea of what’s going on?

Thanks in advance!

2 Likes

same erro here please help