Error : java.lang.NoClassDefFoundError: com.threed.jpct.RGBColor

Started by ngvannam5, March 26, 2012, 10:30:26 AM

Previous topic - Next topic

ngvannam5

hi All,
create project run error :
Quote03-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)

EgonOlsen

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.


Thomas.

How do you solved it? After update SDK I have same problem...

EgonOlsen