Android:发布的应用程序崩溃与ClassNotFoundException

时间:2012-10-24 07:44:35

标签: android-activity classnotfoundexception

我今天刚刚发布了我的第一个应用程序,但由于某些原因,当我使用已发布的版本时,我在启动时不断收到ClassNotFoundException错误。当我在手机上以调试模式测试时,它工作正常,所以我不确定是什么导致了这一点。



    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.androidProjects.personal/com.androidProjects.personal.GAAClubFinderActivity}: java.lang.ClassNotFoundException: com.androidProjects.personal.GAAClubFinderActivity
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2141)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2260)
    at android.app.ActivityThread.access$600(ActivityThread.java:139)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1277)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:156)
    at android.app.ActivityThread.main(ActivityThread.java:5045)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:511)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
    at dalvik.system.NativeStart.main(Native Method)
    Caused by: java.lang.ClassNotFoundException: com.androidProjects.personal.GAAClubFinderActivity
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
    at android.app.Instrumentation.newActivity(Instrumentation.java:1039)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2132)
    ... 11 more


任何想法?

0 个答案:

没有答案