Software Archive
Read-only legacy content
17061 Discussions

Android and Android Crosswalk Builds Crash during the startup

Alper_B_
New Contributor I
1,029 Views

Hello everybody,

I have developed a mobile app with XDK, using KendoUI and AngularJS.

At the emulator as well as IOS devices my app works perfect. However, Android and Android Crosswalks builds crash often. This crash happens usually when the user opens the tool by clicking an incoming push notification. Alternatively, if the user has not opened the application for a long time (for instance after 8 hours) at the first call it crashes again. If the user restarts the application manually, usually it opens.

Usually i receive "Application was stopped" message before any window comes. In my observation, it does not execute even a single piece from my code.

Answers to potential questions:

- I have always used the latest version of XDK. (At the moment: 2366)
- I have tested on 7-8 different Android devices, including all and new devices, different Android versions (4.x and 5.x)
- Android Crosswalk builds face this problem remarkably less, however still not acceptable numbers
- Newer Android versions and devices have tendency to face this problem less
- It is a text based application and very lightweight
- At IOS devices it work very good.

As I have come to release point, unfortunetely I have to cancel my Play Store submission because of too much crashes. As I stated, it works very good on iOS device.

Does anybody have any startpoint ideas to solve this?

Best regards,
Alper Barkmaz

0 Kudos
5 Replies
PaulF_IntelCorp
Employee
1,029 Views

My suspicion is this is related to the push notification plugin you are using. Which one are you using?

0 Kudos
Alper_B_
New Contributor I
1,029 Views

Hi,

It is "ParsePlugin"

0 Kudos
PaulF_IntelCorp
Employee
1,029 Views

I recommend you contact the author, here: https://github.com/avivais/phonegap-parse-plugin/issues and consider trying a different push plugin if you are unable to get resolution from the developer. Unfortunately, we are not able to fix or correct issues that are due to third-party plugins.

0 Kudos
Amrita_C_Intel
Employee
1,029 Views

Hello,

Thanks for your patience. Can you send me .zip file of your project? So that I can test.

0 Kudos
Alper_B_
New Contributor I
1,029 Views

Hello,

After ​modifying the solution, we have seen that the application is way more stable, however we still receive Crash Reports for Android. It still works perfect for iOS.

Mr. Amrita: How can I send the ZIP file to you?

Best Regards,

Alper Barkmaz

0 Kudos
Reply