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:


        Total time: 2.797 secs
        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!


same erro here please help