Google Play (Crash & ANRs) Report

Bugs will be moved here once resolved.

Post » Sat Feb 28, 2015 10:19 am

*** HOW TO FIX THIS ISSUE****

It was found that this is not a Construct 2 related issue. But problem due to incompatible APK for for device using x86 processor. (default APK uses ARM version)

To fix the issue and ensure compatibility across maximum devices (especially Tablets) make sure you are releasing both version on Google Play (ARM and x86).

How to do that?
After you finish building your game on Intel XDK, you can download the Build zip file. This file contains two type of APK files, x86 and ARM. Sign these APKs with the same Storekeys (if unsigned) .
  • Then goto Google Play APK Section
  • Click on "Switch to Advanced Mode"
  • Upload both signed APKs, one after the other (order doesnt matter)
  • Once uploaded, DEACTIVATE any previously uploaded versions
  • You will see that the files are still in "Draft" mode
  • Scroll up and click "Publish now"
  • Now the status will change to "In Prod"
  • And thats it! Google play will automatically decide which device should get what version (x86 or ARM)
  • Now more crashes due to incompatible APKs! :)



Problem Description
I recently released my game "Last of the Survivors" on Google Play.
Google Play Link : https://play.google.com/store/apps/deta ... esurvivors

Even though the game runs on majority of the devices, few users are reporting that the game crashes on their phones/tab. These are the guys giving bad rating for my game :(

    Fonepad 7 (K012)
    MeMO Pad 8 (K011_1)
    hudl 2 (HTF8A4)
    Galaxy S5 (kltespr)

Please let me know if I can provide you any more data. Appreciate if you can look into the issue

Here is the log from the Google Dev Console's "Crash & ANRs" section.
Code: Select all
java.lang.ExceptionInInitializerError
at org.apache.cordova.CordovaActivity.makeWebView(CordovaActivity.java:325)
at org.apache.cordova.CordovaActivity.init(CordovaActivity.java:361)
at org.apache.cordova.CordovaActivity.init(CordovaActivity.java:353)
at com.gamessolidrock.lastofthesurvivors.LastoftesurvivorsV4.onCreate(LastoftesurvivorsV4.java:31)
at android.app.Activity.performCreate(Activity.java:5303)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2296)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2417)
at android.app.ActivityThread.access$600(ActivityThread.java:148)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1355)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:150)
at android.app.ActivityThread.main(ActivityThread.java:5406)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Use SharedXWalkView if you want to support shared mode
at org.xwalk.core.ReflectionHelper.handleException(ReflectionHelper.java:233)
at org.xwalk.core.ReflectionHelper.handleException(ReflectionHelper.java:237)
at org.xwalk.core.ReflectionHelper.init(ReflectionHelper.java:132)
at org.xwalk.core.ReflectionHelper.loadClass(ReflectionHelper.java:199)
at org.xwalk.core.XWalkPreferences.setValue(XWalkPreferences.java:112)
at org.apache.cordova.CordovaWebView.<clinit>(CordovaWebView.java:890)
... 18 more
Caused by: java.lang.RuntimeException: Use SharedXWalkView if you want to support shared mode
... 23 more

Attach a Capx
Google Store

Description of Capx
Game crashes on certain Android devices. I have posted the log from Google above.

Steps to Reproduce Bug
  • Use one of the above mentioned devices
  • Install my game
  • Try running it to trigger the crash

Observed Result
Game Crashes

Expected Result
No Crashes?

Affected Browsers
  • Chrome: (NA)
  • FireFox: (NA)
  • Internet Explorer: (NA)

Operating System and Service Pack
Windows 8.1 SP1

Construct 2 Version ID
r197.2
Last edited by SamRock on Mon Mar 09, 2015 3:24 pm, edited 1 time in total.
Create your own Isometric Runner Game using C2:

Image

Check out my game "Last of the Survivors":
Play Store
App Store
B
60
S
14
G
2
Posts: 427
Reputation: 5,564

Post » Thu Mar 05, 2015 7:28 am

Anyone here can make sense of the Javascript Error message? The crash report number is increasing.

Looks like ASUS is leading the way
ZenFone 5 (ASUS_T00J)
ZenFone 5 (ASUS_T00K)
Galaxy Tab3 10.1
Fonepad 7 (K012)
Create your own Isometric Runner Game using C2:

Image

Check out my game "Last of the Survivors":
Play Store
App Store
B
60
S
14
G
2
Posts: 427
Reputation: 5,564

Post » Thu Mar 05, 2015 10:15 pm

Got same report on Galaxy tab 3.

Seems to come from the processor x86 (and not ARM). On my side, the galaxy tab 3 that crashes is the GT-P5210 which is not in the list of devices.. I guess it's the same for you.
B
6
S
1
Posts: 45
Reputation: 509

Post » Fri Mar 06, 2015 12:45 am

Adisma wrote:Got same report on Galaxy tab 3.

Seems to come from the processor x86 (and not ARM). On my side, the galaxy tab 3 that crashes is the GT-P5210 which is not in the list of devices.. I guess it's the same for you.


Does that mean, we need to have a x86 version on the store too? Will Google Play automatically install the right version on these Tabs?
Create your own Isometric Runner Game using C2:

Image

Check out my game "Last of the Survivors":
Play Store
App Store
B
60
S
14
G
2
Posts: 427
Reputation: 5,564

Post » Fri Mar 06, 2015 7:35 am

@SamRock
I don't know.. but I don't think we can have both versions ??
Here the thing is that this device ( GT-P5210 ) is not in the list of devices ==> google cannot filter if it should work or not on this one..
B
6
S
1
Posts: 45
Reputation: 509

Post » Fri Mar 06, 2015 10:24 am

@Adisma
Thank you! After you last comment , I went back and did some reading on the Google Dev help site. Looks like we can upload two versions (ARM and x86)

I was breaking my head trying to understand why on Earth my game was crashing on relatively powerful Tabs :D
Thanks to you, now I know.

Will try to release a both versions soon!

BTW, is the Google Play Statistic getting updated for you? Since past two days my Download # are same, but I m getting new Rating & Reviews and know for sure people are downloading it!
Create your own Isometric Runner Game using C2:

Image

Check out my game "Last of the Survivors":
Play Store
App Store
B
60
S
14
G
2
Posts: 427
Reputation: 5,564

Post » Fri Mar 06, 2015 10:58 am

@SamRock
Could you detail how you upload both versions ? I didn't manage to do it..

Statistics are updated at 2nd of March.. thus, I don't have the real count of downloads too...
B
6
S
1
Posts: 45
Reputation: 509

Post » Fri Mar 06, 2015 2:26 pm

@Adisma
Here is the article I was reading. I m yet to upload my APKs... still working on some fixes

http://developer.android.com/google/pla ... -apks.html
Create your own Isometric Runner Game using C2:

Image

Check out my game "Last of the Survivors":
Play Store
App Store
B
60
S
14
G
2
Posts: 427
Reputation: 5,564

Post » Fri Mar 06, 2015 3:42 pm

Thanks @SamRock, the trick is to have 2 different code versions : 1 for ARM, 1 for x86.
B
6
S
1
Posts: 45
Reputation: 509

Post » Fri Mar 06, 2015 4:33 pm

Hello
Anyone uploaded to versions (x86 and ARM) of an app to Play Store?
B
92
S
30
G
11
Posts: 654
Reputation: 11,707

Next

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests