edismooth / ionic2-firebase

[DEPRECATED] Easy example of Firebase working with Ionic 2.
33 stars 16 forks source link

Execution failed for task ':processDebugGoogleServices'. #5

Closed mburger81 closed 8 years ago

mburger81 commented 8 years ago

After doing as described in your readme I got this error

Error: /home/abc/abc/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processDebugGoogleServices'.
> No matching client found for package name 'com.abc.abc'

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

The solution is, you have to set config <widget id=" in config.xml to your "package_name" from google-service.json you configured in firebird configuration.

Also it is important to know, we have to install from Standalone SDK Manage

I'm not sure if Android Support Library really is need, it is obsolete

image

I think it could be useful if you describe this in your readme

edismooth commented 8 years ago

@mburger81 Thank you for your solution! I think it could be useful for some users.