android studio在4.4或4.2手机系统出现jav

2017-09-25  本文已影响334人  往事一块六毛八
09-29 17:26:03.921 26740-26740/com.xg.bjkjby E/AndroidRuntime: FATAL EXCEPTION: main
                                                               Process: com.xg.bjkjby, PID: 26740
                                                               java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.xg.bjkjby/entryView.SplashActivity}: java.lang.ClassNotFoundException: Didn't find class "entryView.SplashActivity" on path: DexPathList[[zip file "/system/framework/android.test.runner.jar", zip file "/data/app/com.xg.bjkjby-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.xg.bjkjby-1, /vendor/lib, /system/lib]]
                                                                   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2127)
                                                                   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2250)
                                                                   at android.app.ActivityThread.access$900(ActivityThread.java:141)
                                                                   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1213)
                                                                   at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                   at android.os.Looper.loop(Looper.java:136)
                                                                   at android.app.ActivityThread.main(ActivityThread.java:5072)
                                                                   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:793)
                                                                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:609)
                                                                   at dalvik.system.NativeStart.main(Native Method)
                                                                Caused by: java.lang.ClassNotFoundException: Didn't find class "entryView.SplashActivity" on path: DexPathList[[zip file "/system/framework/android.test.runner.jar", zip file "/data/app/com.xg.bjkjby-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.xg.bjkjby-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 android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2118)
                                                                   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2250) 
                                                                   at android.app.ActivityThread.access$900(ActivityThread.java:141) 
                                                                   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1213) 
                                                                   at android.os.Handler.dispatchMessage(Handler.java:102) 
                                                                   at android.os.Looper.loop(Looper.java:136) 
                                                                   at android.app.ActivityThread.main(ActivityThread.java:5072) 
                                                                   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:793) 
                                                                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:609) 
                                                                   at dalvik.system.NativeStart.main(Native Method) 

http://www.jianshu.com/p/5dd2a7a4e6aa
http://blog.csdn.net/u013398380/article/details/73220095?utm_source=itdadao&utm_medium=referral

上一篇下一篇

猜你喜欢

热点阅读