Getting "This application encountered a lua error" when building the template App project with Eclipse

Hey,

I succeeded in building the App project using eclipse but as soon as the application starts it crashes with 

the error stated in the title. 

BTW, the application runs normally with the ant compilation.

i saw that some more developers encountered the same problem, but didn’t quite catch the solution.

Help would be appreciated :slight_smile:

here are the relevant errors i get from the cat log:

11-19 18:40:13.493 D/dalvikvm(3764): Trying to load lib /data/data/com.mycompany.app/lib/liblua.so 0x41c93c10

11-19 18:40:13.493 D/dalvikvm(3764): Added shared lib /data/data/com.mycompany.app/lib/liblua.so 0x41c93c10

11-19 18:40:13.493 D/dalvikvm(3764): No JNI_OnLoad found in /data/data/com.mycompany.app/lib/liblua.so 0x41c93c10, skipping init

11-19 18:40:13.498 D/dalvikvm(3764): Trying to load lib /data/data/com.mycompany.app/lib/libjnlua5.1.so 0x41c93c10

11-19 18:40:13.498 D/dalvikvm(3764): Added shared lib /data/data/com.mycompany.app/lib/libjnlua5.1.so 0x41c93c10

11-19 18:40:13.498 D/dalvikvm(3764): Trying to load lib /data/data/com.mycompany.app/lib/libjnlua5.1.so 0x41c93c10

11-19 18:40:13.498 D/dalvikvm(3764): Shared lib ‘/data/data/com.mycompany.app/lib/libjnlua5.1.so’ already loaded in same CL 0x41c93c10

11-19 18:40:13.498 I/dalvikvm(3764): threadid=1: recursive native library load attempt (/data/data/com.mycompany.app/lib/libjnlua5.1.so)

11-19 18:40:13.498 D/dalvikvm(3764): Trying to load lib /data/data/com.mycompany.app/lib/libopenal.so 0x41c93c10

11-19 18:40:13.498 I/OpenAL_SLES(3764): alc_opensles_init

11-19 18:40:13.498 D/dalvikvm(3764): Added shared lib /data/data/com.mycompany.app/lib/libopenal.so 0x41c93c10

11-19 18:40:13.503 D/dalvikvm(3764): Trying to load lib /data/data/com.mycompany.app/lib/libmpg123.so 0x41c93c10

11-19 18:40:13.503 D/dalvikvm(3764): Added shared lib /data/data/com.mycompany.app/lib/libmpg123.so 0x41c93c10

11-19 18:40:13.503 D/dalvikvm(3764): No JNI_OnLoad found in /data/data/com.mycompany.app/lib/libmpg123.so 0x41c93c10, skipping init

11-19 18:40:13.503 D/dalvikvm(3764): Trying to load lib /data/data/com.mycompany.app/lib/libvorbisidec.so 0x41c93c10

11-19 18:40:13.503 D/dalvikvm(3764): Added shared lib /data/data/com.mycompany.app/lib/libvorbisidec.so 0x41c93c10

11-19 18:40:13.503 D/dalvikvm(3764): No JNI_OnLoad found in /data/data/com.mycompany.app/lib/libvorbisidec.so 0x41c93c10, skipping init

11-19 18:40:13.503 D/dalvikvm(3764): Trying to load lib /data/data/com.mycompany.app/lib/libalmixer.so 0x41c93c10

11-19 18:40:13.503 D/dalvikvm(3764): Added shared lib /data/data/com.mycompany.app/lib/libalmixer.so 0x41c93c10

11-19 18:40:13.503 D/dalvikvm(3764): No JNI_OnLoad found in /data/data/com.mycompany.app/lib/libalmixer.so 0x41c93c10, skipping init

11-19 18:40:13.503 D/dalvikvm(3764): Trying to load lib /data/data/com.mycompany.app/lib/libcorona.so 0x41c93c10

11-19 18:40:13.508 D/dalvikvm(3764): Added shared lib /data/data/com.mycompany.app/lib/libcorona.so 0x41c93c10

11-19 18:40:13.543 V/SoundPoolThread(3764): beginThread

11-19 18:40:13.543 V/SoundPoolThread(3764): run

11-19 18:40:13.548 D/KeyguardViewMediator(2273): setHidden false

11-19 18:40:13.588 D/dalvikvm(3764): GC_CONCURRENT freed 206K, 7% free 12336K/13191K, paused 2ms+11ms, total 26ms

This is as far as I got when switching to an eclipse build, from command line ant.  Did you manage to get this resolved?

This is as far as I got when switching to an eclipse build, from command line ant.  Did you manage to get this resolved?