I followed the “README.html” to test the Corona Enterprise Examples. Corona Enterprise with Xcode run the examples successfully. But Corona Enterprise with Eclipse run the examples failed. I can not get the apk by using the “Terminal” following that two steps . I can use Eclipse to produce the apk. But the apk can not run on Android Simulator, it produce an error said “Unfortunately,SimpleLuaExtension has stopped.” The apk can not run on Android Device, it said “Error This application encountereda lua error or has been corrupted.” .
Following is the Eclipse logcat:
[import]
11-06 02:51:12.600: D/dalvikvm(807): Trying
to load lib /data/app-lib/com.mycompany.simpleluaextension-2/liblua.so
0x416ff780
11-06 02:51:12.611: D/dalvikvm(807): Added
shared lib /data/app-lib/com.mycompany.simpleluaextension-2/liblua.so
0x416ff780
11-06 02:51:12.611: D/dalvikvm(807): No
JNI_OnLoad found in /data/app-lib/com.mycompany.simpleluaextension-2/liblua.so
0x416ff780, skipping init
11-06 02:51:12.621: D/dalvikvm(807): Trying
to load lib /data/app-lib/com.mycompany.simpleluaextension-2/libjnlua5.1.so
0x416ff780
11-06 02:51:12.630: D/dalvikvm(807): Added
shared lib /data/app-lib/com.mycompany.simpleluaextension-2/libjnlua5.1.so
0x416ff780
11-06 02:51:12.630: D/dalvikvm(807): Trying
to load lib /data/app-lib/com.mycompany.simpleluaextension-2/libjnlua5.1.so
0x416ff780
11-06 02:51:12.641: D/dalvikvm(807): Shared
lib ‘/data/app-lib/com.mycompany.simpleluaextension-2/libjnlua5.1.so’ already
loaded in same CL 0x416ff780
11-06 02:51:12.641: I/dalvikvm(807):
threadid=1: recursive native library load attempt
(/data/app-lib/com.mycompany.simpleluaextension-2/libjnlua5.1.so)
11-06 02:51:12.660: D/dalvikvm(807): Trying
to load lib /data/app-lib/com.mycompany.simpleluaextension-2/libopenal.so
0x416ff780
11-06 02:51:12.670: I/OpenAL_SLES(807):
alc_opensles_init
11-06 02:51:12.670: D/dalvikvm(807): Added
shared lib /data/app-lib/com.mycompany.simpleluaextension-2/libopenal.so
0x416ff780
11-06 02:51:12.690: D/dalvikvm(807): Trying
to load lib /data/app-lib/com.mycompany.simpleluaextension-2/libmpg123.so
0x416ff780
11-06 02:51:12.701: D/dalvikvm(807): Added
shared lib /data/app-lib/com.mycompany.simpleluaextension-2/libmpg123.so
0x416ff780
11-06 02:51:12.701: D/dalvikvm(807): No
JNI_OnLoad found in
/data/app-lib/com.mycompany.simpleluaextension-2/libmpg123.so 0x416ff780,
skipping init
11-06 02:51:12.720: D/dalvikvm(807): Trying
to load lib /data/app-lib/com.mycompany.simpleluaextension-2/libvorbisidec.so
0x416ff780
11-06 02:51:12.720: D/dalvikvm(807): Added
shared lib /data/app-lib/com.mycompany.simpleluaextension-2/libvorbisidec.so
0x416ff780
11-06 02:51:12.760: D/dalvikvm(807): No
JNI_OnLoad found in
/data/app-lib/com.mycompany.simpleluaextension-2/libvorbisidec.so 0x416ff780,
skipping init
11-06 02:51:12.760: D/dalvikvm(807): Trying
to load lib /data/app-lib/com.mycompany.simpleluaextension-2/libalmixer.so
0x416ff780
11-06 02:51:12.770: D/dalvikvm(807): Added
shared lib /data/app-lib/com.mycompany.simpleluaextension-2/libalmixer.so
0x416ff780
11-06 02:51:12.770: D/dalvikvm(807): No
JNI_OnLoad found in
/data/app-lib/com.mycompany.simpleluaextension-2/libalmixer.so 0x416ff780,
skipping init
11-06 02:51:12.790: D/dalvikvm(807): Trying
to load lib /data/app-lib/com.mycompany.simpleluaextension-2/libcorona.so
0x416ff780
11-06 02:51:12.830: D/dalvikvm(807): Added
shared lib /data/app-lib/com.mycompany.simpleluaextension-2/libcorona.so
0x416ff780
11-06 02:51:13.571: D/libEGL(807): Emulator
without GPU support detected. Fallback to software renderer.
11-06 02:51:13.571: D/libEGL(807): loaded
/system/lib/egl/libGLES_android.so
11-06 02:51:13.700:
D/gralloc_goldfish(807): Emulator without GPU emulation detected.
11-06 02:51:13.811: W/dalvikvm(807):
threadid=13: thread exiting with uncaught exception (group=0x41465700)
11-06 02:51:13.811: E/AndroidRuntime(807):
FATAL EXCEPTION: GLThread 78
11-06 02:51:13.811: E/AndroidRuntime(807):
java.lang.IllegalArgumentException: No configs match configSpec
11-06 02:51:13.811: E/AndroidRuntime(807): at
com.ansca.corona.opengl.GLSurfaceView$BaseConfigChooser.chooseConfig(GLSurfaceView.java:877)
11-06 02:51:13.811: E/AndroidRuntime(807): at com.ansca.corona.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:1069)
11-06 02:51:13.811: E/AndroidRuntime(807): at
com.ansca.corona.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1507)
11-06 02:51:13.811: E/AndroidRuntime(807): at com.ansca.corona.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1377)
11-06 02:51:15.011: I/Choreographer(807):
Skipped 72 frames! The application may
be doing too much work on its main thread.
11-06 02:51:15.820: A/libc(807): Fatal
signal 11 (SIGSEGV) at 0x00000004 (code=1), thread 807 (pleluaextension)[/import]
How to get the apk correctly?