ok, when I run the build.xml in file view like you said (via right click) then the project gets installed on the device after few seconds (a lil success! :D).
But when I run the installed application on the phone then it crashes.
If I try to install the apk that was built under normal configuration (right click build in project view with android device selected as run config)
then it says that the application isn’t installed:
Hm, but the debug target should self-sign the debug version automatically… So you just created a keystore and referenced it in the local file? Or did you use the NBAndroid projects settings for this?
oh I see. You are right! The debug-signing is set to true. That is why the debug.apk was successfully installed via USB-Debug-Connection.
The problem why the application crashes with: "The application MainActivity (process com.mycompany.mygame) was unexpectedly terminated. Try again " has to be another one.
For self signing I would create a keystore manually and paste it to the app.
@kbjansen: I now know why the “Android Device” doesn’t run the app on the device… Its when “Compile on Save” is enabled in the project… The checkbox even says so D’oh xD
@kbjansen: I dont see any problem solving attempts in that thread, did you try changing the configuration to FASTEST in the MainActivity? Checked what kinds of materials cause these issues? Ninja etc all use lighting material, I guess Unshaded should work without issues (and is probably better for android devices anyway)