New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App crashes on start after installing the plugin #106
Comments
@sunil-shrestha yeah, Google broke some stuff. The only way I figured out to fix this was to force the usage of Android Support Library v4 23.4.0. See this issue for more details. |
As @macdonst said, forcing a resolution seems to be the only solution. I am pretty sure the issue is with 24.0.0-beta version of the support library being available and one of the dependencies you are using the newest available support library by specify a Error #1 can be ignored. Google Play Services logs an error if you config.json is unavailable that specifies the project id. Its unfortunate that they log an error for that. We will look into resolving that issue in the future but for now it should be harmless. |
Thanks a lot for getting me to right direction, Updating android/project.properties as below fixed the problem
|
Glad you fixed the issue. Thanks for posting the solution! |
I don't know if there was an update to fix this for this plugin, but the issue is still happening. I ended up downgrading my support libraries on my machine. |
We are unable to fix this through the plugin. Cordova needs to update to not specify |
Hello! I am not android developer and I use ionic. Can you pls explain what I have to do to fix it step by step? I've added cordova.system.library.1=com.android.support:support-v4:23.1.1+ to my platforms/android/project.properties, but app still crashes on start |
@ant0ha It could also be another plugin that is pulling in the beta support library. We are hoping our update to 7.2.0 which uses google play services 9.0.2 will fix this issue today. If you have access to the build.gradle file, you could try this - http://stackoverflow.com/a/37341386/1637562 |
@rlepinski thank you for answer, I've fixed it by adding:
to my platforms/android/build-extras.gradle |
Hi, i tried to use this plugin with ionic framework and the app crashes every time i open. Here are few details on crash
Every time it crashes, it gives the following error messages
Error 1
Error 2
The text was updated successfully, but these errors were encountered: