-
Notifications
You must be signed in to change notification settings - Fork 313
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
Android plugin crashes app #78
Comments
I am getting the same issue. Also, crashes with devices running Android 5.1+ |
I had a similar problem, solved it by adding the code stated in Android Quirks in the README.md file. |
ah. thanks@mwthinker. that helped. (Though I did try that before posting this, but gave up too fast...) Doing the Android Quirks note with a Cordova app, you actually have to MAKE the App.java class and put it somewhere inside your android/src folder with the proper package name. Then add the xml attribute 'android:name' as part of the 'application' tag of the AndroidManifest.xml. Don't do what I did, which is put it inside the MainActivity.java class and fails to compile, then give up... Also note that, if you do 'cordova platform remove android' then add it back again, this file will be deleted. You would need to add it again (for those of you, like me, who do not check in the 'platforms' folder into git) |
I add App.java file with this code:
And I add tag in application AndroidManifest.xml:
but when i try cordova run android:
Can you help me please? Thanks 4 all!!! |
I finally use another plugin ( https://github.com/taivo/parse-push-plugin ), thks for your answer |
After adding the plugin to a working project while executing cordova run android I get a the app has stopped message.
The text was updated successfully, but these errors were encountered: