Author Topic: PhysicsTest Example program got error while running  (Read 2948 times)

Offline ganesh

  • byte
  • *
  • Posts: 5
    • View Profile
PhysicsTest Example program got error while running
« 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)

   




Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: PhysicsTest Example program got error while running
« Reply #1 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?

Offline sushobhit

  • long
  • ***
  • Posts: 109
  • future is now
    • View Profile
    • ANDROID APPS
Re: PhysicsTest Example program got error while running
« Reply #2 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

Offline sushobhit

  • long
  • ***
  • Posts: 109
  • future is now
    • View Profile
    • ANDROID APPS
Re: PhysicsTest Example program got error while running
« Reply #3 on: February 16, 2014, 01:09:59 pm »
Why dont you try it that way?????instead of emulator

Offline ganesh

  • byte
  • *
  • Posts: 5
    • View Profile
Re: PhysicsTest Example program got error while running
« Reply #4 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"



 



Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: PhysicsTest Example program got error while running
« Reply #5 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.