I have googled quite some time for the error and I have the feeling that this topic comes closest to my problem. So, @iwgeric, if you wanna help…
When I start the app to run on my Ascend P6 it installs fine but when it launches it fails pretty much immediately saying MyGame had to be shut down.
I think the exception that causes the error is this:
[java]
E/AndroidRuntime(23001): FATAL EXCEPTION: GLThread 1926
E/AndroidRuntime(23001): java.lang.RuntimeException: createContext failed: EGL_BAD_CONFIG
E/AndroidRuntime(23001): at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1316)
E/AndroidRuntime(23001): at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1307)
E/AndroidRuntime(23001): at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:1157)
E/AndroidRuntime(23001): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1530)
E/AndroidRuntime(23001): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1367)
W/ActivityManager( 453): Force finishing activity de.gallenberger.android.firsttest/.MainActivity
[/java]
If you wanna see the complete changelog with[java]
LogManager.getLogManager().getLogger("").setLevel(Level.ALL);
[/java]
you can see it there: http://pastebin.com/nGBydCPe
I first used JDK 7, but since there was someone having problems with it I now am using JDK 6.
Also I commented pretty much all the code of my application leaving only:
[java]
package mygame;
import com.jme3.app.SimpleApplication;
public class Main extends SimpleApplication {
public static void main(String[] args){
System.out.println("heyho!");
}
@Override
public void simpleInitApp() {}
@Override
public void simpleUpdate(float tpf){}
}
[/java]
My phone is running on android 4.2.2, the android SDK has downloaded all 4.2.2 packages as well.
Don’t know what to add…
@nehon
I assumed in order to be always up-to-date I just had to enable ‘jMonkeyEngine SDK Nightly (Breaks!)’ in Tools–>Plugins–>Settings.
Does that setting only count for plugins and therefore I need to redownload the SDK or am I up-to-date?
(I actually wondered this for quite a while :roll: )
@iwgeric said:
That seems to indicate that you don't have "nightly" checked. Can you make sure that you have "stable" unchecked and "nightly" checked instead?
Just want to make sure that if you have Nightly checked, the issue goes away or not.
I had nightly as well as stable checked.
Now I unchecked stable and left nightly checked and it says ‘Your application is up to date!’
Well… if 3.0.2 is not the newest version I can still download the newest nightly manually.