Intel XDK / Construct 2 errors? Help!

Get help using Construct 2

Post » Fri Aug 29, 2014 2:53 pm

Hello everyone,

I made a game that I exported as an app for android with Intel XDK and I'm getting a couple of errors, maybe you can help me out.

java.lang.NoClassDefFoundError: org.chromium.base.ApplicationStatus$2 - 9 occurrences

java.lang.NoClassDefFoundError: org.chromium.base.ApplicationStatus$2 at org.chromium.base.ApplicationStatus.initialize(ApplicationStatus.java:130) at org.chromium.base.ApplicationStatusManager.init(ApplicationStatusManager.java:32) at org.xwalk.core.XWalkViewDelegate.init(XWalkViewDelegate.java:87) at org.xwalk.core.XWalkView.init(XWalkView.java:124) at org.xwalk.core.XWalkView.<init>(XWalkView.java:88) at org.apache.cordova.CordovaWebView.<init>(CordovaWebView.java:145) at org.apache.cordova.CordovaActivity.makeWebView(CordovaActivity.java:275) at org.apache.cordova.CordovaActivity.init(CordovaActivity.java:310) at com.alvarop.gamebuild.Gamebuild.onCreate(RetroNinja.java:31) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1072) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1785) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1842) at android.app.ActivityThread.access$1500(ActivityThread.java:132) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1038) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:150) at android.app.ActivityThread.main(ActivityThread.java:4263) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:507) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) at al.system.NativeStart.main(Native Method)
B
33
S
9
G
3
Posts: 493
Reputation: 4,042

Post » Sat Aug 30, 2014 8:54 am

can u explain at what step did that error occur ?
A screenshot would also simplify things than text
B
15
S
3
G
1
Posts: 111
Reputation: 1,664

Post » Sun Oct 05, 2014 11:41 am

I'm getting the same error on an app I re-released yesterday using crosswalk. I'm wondering if it has something to do with the minimum sdk requirements being set too low. Its difficult to test because I can't reproduce the error.
B
4
S
1
Posts: 4
Reputation: 365

Post » Sun Oct 05, 2014 5:02 pm

Oh man, I ended up fixing this error but I don't exactly remember how. I think I updated or deleted some files....
B
33
S
9
G
3
Posts: 493
Reputation: 4,042

Post » Sat Oct 18, 2014 12:58 am

@ashwin2000 @c0ntra I'm getting this too. Any insight? It's reported on a Galaxy Mini 2 with "Android 2.3.3 - 2.3.7".
user report is "just wont open. forces close everytime"

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.<package>/com.<app>}: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org.chromium.base.ApplicationStatus$2
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1659)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1675)
at android.app.ActivityThread.access$1500(ActivityThread.java:121)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:943)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3768)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:878)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:636)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org.chromium.base.ApplicationStatus$2
at org.xwalk.core.internal.XWalkViewInternal.init(XWalkViewInternal.java:244)
at org.xwalk.core.internal.XWalkViewInternal.<init>(XWalkViewInternal.java:196)
at org.xwalk.core.XWalkView.<init>(XWalkView.java:171)
at org.apache.cordova.CordovaWebView.<init>(CordovaWebView.java:139)
at org.apache.cordova.CordovaActivity.makeWebView(CordovaActivity.java:301)
at org.apache.cordova.CordovaActivity.init(CordovaActivity.java:336)
at com.<package><app>.onCreate(App.java:31)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1623)
... 11 more
Caused by: java.lang.NoClassDefFoundError: org.chromium.base.ApplicationStatus$2
at org.chromium.base.ApplicationStatus.initialize(ApplicationStatus.java:131)
at org.chromium.base.ApplicationStatusManager.init(ApplicationStatusManager.java:32)
at org.xwalk.core.internal.XWalkViewDelegate.init(XWalkViewDelegate.java:87)
at org.xwalk.core.internal.XWalkViewInternal.init(XWalkViewInternal.java:232)
... 19 more
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, MikaelS, nahima and 13 guests