在我的应用程序中,我正在使用项目中正确包含的库(称为 SlideMenu)(我没有编译错误),但是当我调用此库时,出现此错误:
06-25 15:10:04.463: E/AndroidRuntime(11453): FATAL EXCEPTION: main
06-25 15:10:04.463: E/AndroidRuntime(11453): java.lang.NoClassDefFoundError: com.coboltforge.slidemenu.R$layout
06-25 15:10:04.463: E/AndroidRuntime(11453): at com.coboltforge.slidemenu.SlideMenu.show(SlideMenu.java:334)
06-25 15:10:04.463: E/AndroidRuntime(11453): at com.coboltforge.slidemenu.SlideMenu.show(SlideMenu.java:260)
06-25 15:10:04.463: E/AndroidRuntime(11453): at com.tmp.MainActivity$1.onClick(MainActivity.java:128)
06-25 15:10:04.463: E/AndroidRuntime(11453): at android.view.View.performClick(View.java:4354)
06-25 15:10:04.463: E/AndroidRuntime(11453): at android.view.View$PerformClick.run(View.java:17948)
06-25 15:10:04.463: E/AndroidRuntime(11453): at android.os.Handler.handleCallback(Handler.java:725)
06-25 15:10:04.463: E/AndroidRuntime(11453): at android.os.Handler.dispatchMessage(Handler.java:92)
06-25 15:10:04.463: E/AndroidRuntime(11453): at android.os.Looper.loop(Looper.java:137)
06-25 15:10:04.463: E/AndroidRuntime(11453): at android.app.ActivityThread.main(ActivityThread.java:5293)
06-25 15:10:04.463: E/AndroidRuntime(11453): at java.lang.reflect.Method.invokeNative(Native Method)
06-25 15:10:04.463: E/AndroidRuntime(11453): at java.lang.reflect.Method.invoke(Method.java:511)
06-25 15:10:04.463: E/AndroidRuntime(11453): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
06-25 15:10:04.463: E/AndroidRuntime(11453): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
06-25 15:10:04.463: E/AndroidRuntime(11453): at dalvik.system.NativeStart.main(Native Method)
有任何想法吗?