Android App Unfortuntately Stopped

Hi,

I tried to install a the “Game Template” that you can create in corona simulator on my phone but it constantly keeps crashing. I tried different Corona Versions and currently I am on Version 2016.2874 (2016.5.4) but i didn’t get it to work.

The Device LOG looks like this. After installing and opening it’s already crashing, so i can’t see any menu.

May 05 09:06:29.503 Android build succeeded May 05 09:06:40.270 Installing and running TestBuild on Google Nexus 5 - 5.0.0 - API 21 - 1080x1920 WARNING: linker: libhoudini.so has text relocations. This is wasting memory and prevents security hardening. Please fix. pkg: /data/local/tmp/CoronaSDKef82a39a580bea54611dcb0989b11bcb.apk Success WARNING: linker: libhoudini.so has text relocations. This is wasting memory and prevents security hardening. Please fix. Starting: Intent { cmp=com.mytest.TestBuild/com.ansca.corona.CoronaActivity } May 05 09:06:40.281 ---------- Device Log Starts ---------- May 05 09:06:40.624 Google Nexus 5 - 5.0.0 - API 21 - 1080x1920: FATAL EXCEPTION: main May 05 09:06:40.625 Google Nexus 5 - 5.0.0 - API 21 - 1080x1920: Process: com.mytest.TestBuild, PID: 3339 May 05 09:06:40.625 Google Nexus 5 - 5.0.0 - API 21 - 1080x1920: java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/com.mytest.TestBuild-1/lib/arm/liblua.so" has unexpected e\_machine: 40 May 05 09:06:40.625 Google Nexus 5 - 5.0.0 - API 21 - 1080x1920: at java.lang.Runtime.loadLibrary(Runtime.java:371) May 05 09:06:40.626 Google Nexus 5 - 5.0.0 - API 21 - 1080x1920: at java.lang.System.loadLibrary(System.java:989) May 05 09:06:40.626 Google Nexus 5 - 5.0.0 - API 21 - 1080x1920: at com.ansca.corona.JavaToNativeShim.\<clinit\>(JavaToNativeShim.java:115) May 05 09:06:40.626 Google Nexus 5 - 5.0.0 - API 21 - 1080x1920: at com.ansca.corona.CoronaEnvironment.setLuaErrorHandler(CoronaEnvironment.java:372) May 05 09:06:40.626 Google Nexus 5 - 5.0.0 - API 21 - 1080x1920: at com.ansca.corona.CoronaEnvironment.\<clinit\>(CoronaEnvironment.java:50) May 05 09:06:40.626 Google Nexus 5 - 5.0.0 - API 21 - 1080x1920: at com.ansca.corona.CoronaActivity.onCreate(CoronaActivity.java:214) May 05 09:06:40.627 Google Nexus 5 - 5.0.0 - API 21 - 1080x1920: at android.app.Activity.performCreate(Activity.java:5933) May 05 09:06:40.627 Google Nexus 5 - 5.0.0 - API 21 - 1080x1920: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105) May 05 09:06:40.627 Google Nexus 5 - 5.0.0 - API 21 - 1080x1920: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2251) May 05 09:06:40.627 Google Nexus 5 - 5.0.0 - API 21 - 1080x1920: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360) May 05 09:06:40.627 Google Nexus 5 - 5.0.0 - API 21 - 1080x1920: at android.app.ActivityThread.access$800(ActivityThread.java:144) May 05 09:06:40.628 Google Nexus 5 - 5.0.0 - API 21 - 1080x1920: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278) May 05 09:06:40.628 Google Nexus 5 - 5.0.0 - API 21 - 1080x1920: at android.os.Handler.dispatchMessage(Handler.java:102) May 05 09:06:40.628 Google Nexus 5 - 5.0.0 - API 21 - 1080x1920: at android.os.Looper.loop(Looper.java:135) May 05 09:06:40.628 Google Nexus 5 - 5.0.0 - API 21 - 1080x1920: at android.app.ActivityThread.main(ActivityThread.java:5221) May 05 09:06:40.629 Google Nexus 5 - 5.0.0 - API 21 - 1080x1920: at java.lang.reflect.Method.invoke(Native Method) May 05 09:06:40.629 Google Nexus 5 - 5.0.0 - API 21 - 1080x1920: at java.lang.reflect.Method.invoke(Method.java:372) May 05 09:06:40.629 Google Nexus 5 - 5.0.0 - API 21 - 1080x1920: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899) May 05 09:06:40.737 Google Nexus 5 - 5.0.0 - API 21 - 1080x1920: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694) May 05 09:06:40.737 Google Nexus 5 - 5.0.0 - API 21 - 1080x1920: Force finishing activity com.mytest.TestBuild/com.ansca.corona.CoronaActivity May 05 09:06:41.091 Google Nexus 5 - 5.0.0 - API 21 - 1080x1920: Activity pause timeout for ActivityRecord{eddc0da u0 com.mytest.TestBuild/com.ansca.corona.CoronaActivity t20 f} May 05 09:06:51.451 Google Nexus 5 - 5.0.0 - API 21 - 1080x1920: Activity destroy timeout for ActivityRecord{eddc0da u0 com.mytest.TestBuild/com.ansca.corona.CoronaActivity t20 f}

I’ve got the following android tools installed:

Would be great if you could help me out and guide me to fix this annoying exception.

Thank you!

heavy

Turned out that it was a problem is that i was using genymotion android simulator/virtual machine.

I installed the app on my phone and it worked.

Turned out that it was a problem is that i was using genymotion android simulator/virtual machine.

I installed the app on my phone and it worked.