1. Download our Official Android App: Forums for Android!

Apps OpenGL ES 2 seems to crash

Discussion in 'Android Development' started by stephenl7797, Nov 21, 2011.

  1. stephenl7797

    stephenl7797 Lurker
    Thread Starter
    Nov 21, 2011

    Nov 21, 2011
    Hi, I'm new to Java and Android. I quickly put my focus to OpenGL ES 2. When my emulator (API 14.0) is running, I can go through API Demos and select BasicGLSurfaceView (OpenGLES2), the app runs and a triangle spins. When I load the project into Eclipse and build, the same program stops working in the emulator as soon as I unlock the phone and let it load, or load it from list of apps. For this reason, I'm 90% sure the problem is Eclipse building it. I've already spent 2 days trying to resolve this and it's frustrating. I've reinstalled already and have everything properly installed. This seems to be the only problem of its kind- Ive googled for hours, so probably a stupid error

    Heres what I get from running the untouched sample into Eclipse

    Logcat at crash-----------------
    11-19 21:35:52.887: E/AndroidRuntime(556): FATAL EXCEPTION: GLThread 75
    11-19 21:35:52.887: E/AndroidRuntime(556): java.lang.IllegalArgumentException: No configs match configSpec
    11-19 21:35:52.887: E/AndroidRuntime(556): at android.opengl.GLSurfaceView$BaseConfigChooser.chooseConfig(GLSurfaceView.java:825)
    11-19 21:35:52.887: E/AndroidRuntime(556): at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:981)
    11-19 21:35:52.887: E/AndroidRuntime(556): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1335)
    11-19 21:35:52.887: E/AndroidRuntime(556): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1189)
    [2011-11-19 21:34:40 - BasicGLSurfaceView] New emulator found: emulator-5554
    [2011-11-19 21:34:40 - BasicGLSurfaceView] Waiting for HOME('android.process.acore') to be launched...
    [2011-11-19 21:35:16 - BasicGLSurfaceView] WARNING: Application does not specify an API level requirement!
    [2011-11-19 21:35:16 - BasicGLSurfaceView] Device API version is 14 (Android 4.0.1)
    [2011-11-19 21:35:16 - BasicGLSurfaceView] HOME is up on device 'emulator-5554'
    [2011-11-19 21:35:16 - BasicGLSurfaceView] Uploading BasicGLSurfaceView.apk onto device 'emulator-5554'
    [2011-11-19 21:35:16 - BasicGLSurfaceView] Installing BasicGLSurfaceView.apk...
    [2011-11-19 21:35:49 - BasicGLSurfaceView] Success!
    [2011-11-19 21:35:50 - BasicGLSurfaceView] Starting activity com.example.android.basicglsurfaceview.BasicGLSurfaceViewActivity on device emulator-5554
    [2011-11-19 21:35:52 - BasicGLSurfaceView] ActivityManager: Starting: Intent { act=...


Share This Page