PhysicsTest Example program got error while running

Started by ganesh, February 15, 2014, 12:29:41 PM

Previous topic - Next topic

ganesh

I have download your physics test program from your site.

But I got a error.please help me how do run your program.Now Iam using eclipse android in linux.

I have already set .jar files in build path.

Error Message :
   
02-15 17:02:41.142: E/AndroidRuntime(586): FATAL EXCEPTION: GLThread 9
02-15 17:02:41.142: E/AndroidRuntime(586): java.lang.RuntimeException: [ 1392463961096 ] - ERROR: Failed to choose config!
02-15 17:02:41.142: E/AndroidRuntime(586): at com.threed.jpct.Logger.log(Logger.java:193)
02-15 17:02:41.142: E/AndroidRuntime(586): at com.threed.jpct.util.AAConfigChooser.error(AAConfigChooser.java:178)
02-15 17:02:41.142: E/AndroidRuntime(586): at com.threed.jpct.util.AAConfigChooser.chooseConfig(AAConfigChooser.java:139)
02-15 17:02:41.142: E/AndroidRuntime(586): at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:916)
02-15 17:02:41.142: E/AndroidRuntime(586): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1246)
02-15 17:02:41.142: E/AndroidRuntime(586): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1116)

   




EgonOlsen

That's a problem with your setup. It's unable to choose a fitting config. Try to enable hardware acceleration for the emulator if you are using that. If you are using a real device...which one is that?

sushobhit

Works fine with me Very good example if you wanna develop fps game sphere could be changed for bullet and cube(box) could be changed for enemy.....Very disciplined programming done by the author....

I ran it on LAVA Tab + AIDE

sushobhit


ganesh

Thanks for your reply . just  i have  enable hardware acceleration using the following code and add this code in AndroidManifest.xml file. but it is not working.



android:hardwareAccelerated="true"








EgonOlsen

'It's not working' isn't something that enables people to help, because no one can possibly know, what exactly it means.