Author Topic: [resovled] some error when inject the Bones  (Read 13431 times)

Offline cefengxu

  • int
  • **
  • Posts: 65
    • View Profile
[resovled] some error when inject the Bones
« on: October 30, 2015, 03:19:38 am »
Hi raft :

i got some error when inject the Bones Project into my Project but some error was shown as below:

10-30 10:07:47.388: E/AndroidRuntime(8944): FATAL EXCEPTION: GLThread 887
10-30 10:07:47.388: E/AndroidRuntime(8944): Process: com.airhockey.android, PID: 8944
10-30 10:07:47.388: E/AndroidRuntime(8944): java.lang.NoClassDefFoundError: Failed resolution of: Lraft/jpct/bones/BonesIO;
10-30 10:07:47.388: E/AndroidRuntime(8944):    at com.airhockey.android.AirHockeyRenderer.onSurfaceCreated(AirHockeyRenderer.java:133)
10-30 10:07:47.388: E/AndroidRuntime(8944):    at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1500)
10-30 10:07:47.388: E/AndroidRuntime(8944):    at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1239)

i think it should be the Problem  of Import , but  i have set the Java Build Project to Bones already, so what't i need to do ??
« Last Edit: October 30, 2015, 06:36:14 am by cefengxu »

Offline cefengxu

  • int
  • **
  • Posts: 65
    • View Profile
Re: some error when inject the Bones
« Reply #1 on: October 30, 2015, 03:28:17 am »
this problem was shown again , everythings was tried but could not deal with it

Offline cefengxu

  • int
  • **
  • Posts: 65
    • View Profile
Re: [resovled] some error when inject the Bones
« Reply #2 on: October 30, 2015, 06:39:51 am »
how to deal with this issue as follown:

  • copy raft.jpct.bones & raft.jpct.bones.util into your project;
  • copy all jar from Bones into your project ( deleting the jpct-1.26.jar because it will conflict with the original one  );
  • copy script from Bones into your project ;

Offline raft

  • Moderator
  • quad
  • *****
  • Posts: 1993
    • View Profile
    • http://www.aptalkarga.com
Re: [resovled] some error when inject the Bones
« Reply #3 on: October 30, 2015, 08:51:53 am »
if you convert your model into Bones binary format, there is no need to use all those jars