[resovled] some error when inject the Bones

Started by cefengxu, October 30, 2015, 03:19:38 AM

Previous topic - Next topic

cefengxu

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 ??

cefengxu

this problem was shown again , everythings was tried but could not deal with it

cefengxu

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 ;

raft

if you convert your model into Bones binary format, there is no need to use all those jars