FATAL EXCEPTION: main
Process: com.ok619.jyqb, PID: 12225
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.ok619.jyqb/com.ok619.jyqb.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "com.ok619.jyqb.MainActivity" on path: DexPathList[[zip file "/data/app/com.ok619.jyqb-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.ok619.jyqb-1, /vendor/lib, /system/lib]]
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2116)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2239)
at android.app.ActivityThread.access$800(ActivityThread.java:141)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1202)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5047)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:807)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:623)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.ok619.jyqb.MainActivity" on path: DexPathList[[zip file "/data/app/com.ok619.jyqb-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.ok619.jyqb-1, /vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
at android.app.Instrumentation.newActivity(Instrumentation.java:1061)
at com.qihoo360.mobilesafe.loader.b.newActivity(SourceFile:239)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2107)
... 11 more
不知道神马情况,同样的代码mac下没问题,svn同步到win8环境下就启动报错,各种清理环境还是没用,求高手指点...
<spanstyle="color:#333333;font-family:Helvetica,Tahoma,Arial,sans-serif;font-size:14px;line-height:24px;background-color:#F5F5F5;">请查看AndroidManifest.xml文件。 com.ok619.jyqb.MainActivity<spanstyle="color:#E53333;">求好评<spanstyle="color:#E53333;">
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。