您好我是android開發新手。當最近有人離開我的公司時,我接管了一個項目,並且我能夠構建並運行應用程序。由於在Eclipse上運行的更新,我可以不再運行應用程序,我得到這個錯誤:noclassdefFoundError運行更新後
07-29 10:27:13.843: E/AndroidRuntime(314): FATAL EXCEPTION: main
07-29 10:27:13.843: E/AndroidRuntime(314): java.lang.NoClassDefFoundError: uk.co.mosquitodigital.panic.dao.DaoMaster
07-29 10:27:13.843: E/AndroidRuntime(314): at uk.co.mosquitodigital.panic.dao.DaoMaster$OpenHelper.onCreate(DaoMaster.java:48)
07-29 10:27:13.843: E/AndroidRuntime(314): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:106)
07-29 10:27:13.843: E/AndroidRuntime(314): at uk.co.mosquitodigital.panic.PanicApplication.onCreate(PanicApplication.java:64)
07-29 10:27:13.843: E/AndroidRuntime(314): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:969)
07-29 10:27:13.843: E/AndroidRuntime(314): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4244)
07-29 10:27:13.843: E/AndroidRuntime(314): at android.app.ActivityThread.access$3000(ActivityThread.java:125)
07-29 10:27:13.843: E/AndroidRuntime(314): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2071)
07-29 10:27:13.843: E/AndroidRuntime(314): at android.os.Handler.dispatchMessage(Handler.java:99)
07-29 10:27:13.843: E/AndroidRuntime(314): at android.os.Looper.loop(Looper.java:123)
07-29 10:27:13.843: E/AndroidRuntime(314): at android.app.ActivityThread.main(ActivityThread.java:4627)
07-29 10:27:13.843: E/AndroidRuntime(314): at java.lang.reflect.Method.invokeNative(Native Method)
07-29 10:27:13.843: E/AndroidRuntime(314): at java.lang.reflect.Method.invoke(Method.java:521)
07-29 10:27:13.843: E/AndroidRuntime(314): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
07-29 10:27:13.843: E/AndroidRuntime(314): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
07-29 10:27:13.843: E/AndroidRuntime(314): at dalvik.system.NativeStart.main(Native Method)
您好感謝您的回覆。我無法在我的項目中看到一個'libs'文件夾? – user987723 2012-07-30 07:03:26
您將不得不創建它。它不會默認退出 – 2012-07-30 07:04:54
好吧我右鍵單擊項目去'構建路徑'>'配置構建路徑',並添加源文件夾中的lib文件夾...這是正確的嗎? – user987723 2012-07-30 07:12:11