Friday, May 20, 2011

Module Setting on Intellij for Google map on Android




เลือก Scope เป็น Provided

Otherwise
05-20 10:58:50.781: ERROR/AndroidRuntime(17761): FATAL EXCEPTION: main
java.lang.NoClassDefFoundError: com.package.ViewMap
at com.package.ListBridge.gotoViewMap(ListBridge.java:57)
at com.package.ListBridge.access$000(ListBridge.java:10)
at com.package.ListBridge$1.onClick(ListBridge.java:19)
at android.view.View.performClick(View.java:2408)
at android.view.View$PerformClick.run(View.java:8818)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4627)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:871)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation
at dalvik.system.DexFile.defineClass(Native Method)
at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:209)
at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:203)
at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
at java.lang.ClassLoader.loadClass(ClassLoader.java:532)
... 14 more

No comments:

Post a Comment