www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: ganesh on February 15, 2014, 12:29:41 pm

Title: PhysicsTest Example program got error while running
Post by: ganesh on February 15, 2014, 12:29:41 pm
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 :
   
Code: [Select]
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)

   



Title: Re: PhysicsTest Example program got error while running
Post by: EgonOlsen on February 15, 2014, 01:13:53 pm
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?
Title: Re: PhysicsTest Example program got error while running
Post by: sushobhit on February 16, 2014, 01:08:55 pm
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
Title: Re: PhysicsTest Example program got error while running
Post by: sushobhit on February 16, 2014, 01:09:59 pm
Why dont you try it that way?????instead of emulator
Title: Re: PhysicsTest Example program got error while running
Post by: ganesh on February 21, 2014, 07:55:28 am
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.

Code: [Select]

 android:hardwareAccelerated="true"



 


Title: Re: PhysicsTest Example program got error while running
Post by: EgonOlsen on February 21, 2014, 08:59:08 am
'It's not working' isn't something that enables people to help, because no one can possibly know, what exactly it means.