Author Topic: Error : java.lang.NoClassDefFoundError: com.threed.jpct.RGBColor  (Read 3738 times)

Offline ngvannam5

  • byte
  • *
  • Posts: 7
    • View Profile
hi All,
create project run error :
Quote
03-26 15:17:32.041: E/AndroidRuntime(558): FATAL EXCEPTION: main
03-26 15:17:32.041: E/AndroidRuntime(558): java.lang.NoClassDefFoundError: com.threed.jpct.RGBColor
03-26 15:17:32.041: E/AndroidRuntime(558):     at com.gkxim.android.gmob3d.Gmob3DActivity.onCreate(Gmob3DActivity.java:76)
03-26 15:17:32.041: E/AndroidRuntime(558):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
03-26 15:17:32.041: E/AndroidRuntime(558):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
03-26 15:17:32.041: E/AndroidRuntime(558):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
03-26 15:17:32.041: E/AndroidRuntime(558):     at android.app.ActivityThread.access$2300(ActivityThread.java:125)
03-26 15:17:32.041: E/AndroidRuntime(558):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
03-26 15:17:32.041: E/AndroidRuntime(558):     at android.os.Handler.dispatchMessage(Handler.java:99)
03-26 15:17:32.041: E/AndroidRuntime(558):     at android.os.Looper.loop(Looper.java:123)
03-26 15:17:32.041: E/AndroidRuntime(558):     at android.app.ActivityThread.main(ActivityThread.java:4627)
03-26 15:17:32.041: E/AndroidRuntime(558):     at java.lang.reflect.Method.invokeNative(Native Method)
03-26 15:17:32.041: E/AndroidRuntime(558):     at java.lang.reflect.Method.invoke(Method.java:521)
03-26 15:17:32.041: E/AndroidRuntime(558):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
03-26 15:17:32.041: E/AndroidRuntime(558):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
03-26 15:17:32.041: E/AndroidRuntime(558):     at dalvik.system.NativeStart.main(Native Method)

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
Re: Error : java.lang.NoClassDefFoundError: com.threed.jpct.RGBColor
« Reply #1 on: March 26, 2012, 11:10:33 am »
Looks like as if you haven't the jar added to your APK correctly. Check your project setup. This is a problem with your setup, not a bug of the API.

Offline ngvannam5

  • byte
  • *
  • Posts: 7
    • View Profile
Re: Error : java.lang.NoClassDefFoundError: com.threed.jpct.RGBColor
« Reply #2 on: March 27, 2012, 05:16:42 am »
Thanks.

Offline Thomas.

  • double
  • *****
  • Posts: 833
    • View Profile
Re: Error : java.lang.NoClassDefFoundError: com.threed.jpct.RGBColor
« Reply #3 on: March 28, 2012, 04:44:46 pm »
How do you solved it? After update SDK I have same problem...

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
Re: Error : java.lang.NoClassDefFoundError: com.threed.jpct.RGBColor
« Reply #4 on: March 28, 2012, 09:10:54 pm »
I think this decribes the same issue: http://www.jpct.net/forum2/index.php/topic,2661.0.html

...what have they done and why???