Home > Mobile >  Android execution on the true error, and can't find the reason, the program can't open, th
Android execution on the true error, and can't find the reason, the program can't open, th

Time:10-11

7-12 21:10:10. 239: E/AndroidRuntime (4667) : FATAL EXCEPTION: the main
7-12 21:10:10. 239: E/AndroidRuntime (4667) : the Process: com. Android. Wy. Readclub, PID: 4667
7-12 21:10:10. 239: E/AndroidRuntime (4667) : Java. Lang. RuntimeException: Unable to instantiate the activity ComponentInfo {com. Android. Wy. Readclub/com. Android. Wy. Readclub. The SplashScreen} : Java. Lang. ClassNotFoundException: Didn 't find the class "com. Android. Wy. Readclub. SplashScreen" on the path: DexPathList [[zip file "/data/app/com. Android. Wy. Readclub - 2/base. Apk"], nativeLibraryDirectories=[/vendor/lib/system/lib]]
7-12 21:10:10. 239: E/AndroidRuntime (4667) : an android. App. ActivityThread. PerformLaunchActivity (ActivityThread. Java: 2214)
7-12 21:10:10. 239: E/AndroidRuntime (4667) : an android. App. ActivityThread. HandleLaunchActivity (ActivityThread. Java: 2363)
7-12 21:10:10. 239: E/AndroidRuntime (4667) : an android. App. ActivityThread. Access the $800 (147) ActivityThread. Java:
7-12 21:10:10. 239: E/AndroidRuntime (4667) : an android. App. ActivityThread $H.h andleMessage (ActivityThread. Java: 1283)
7-12 21:10:10. 239: E/AndroidRuntime (4667) : an android. OS. Handler. DispatchMessage (Handler. Java: 102)
7-12 21:10:10. 239: E/AndroidRuntime (4667) : an android. OS. Stars. Loop (135). Which Java:
7-12 21:10:10. 239: E/AndroidRuntime (4667) : an android. App. ActivityThread. Main (5235) ActivityThread. Java:
7-12 21:10:10. 239: E/AndroidRuntime (4667) : at the Java. Lang. Reflect. Method. Invoke (Native Method)
7-12 21:10:10. 239: E/AndroidRuntime (4667) : at the Java. Lang. Reflect. Method. Invoke (372) Method. The Java:
7-12 21:10:10. 239: E/AndroidRuntime (4667) : at the android. Internal. OS. $MethodAndArgsCaller ZygoteInit. Run (ZygoteInit. Java: 906)
7-12 21:10:10. 239: E/AndroidRuntime (4667) : at the android. Internal. OS. ZygoteInit. Main (ZygoteInit. Java: 701)
7-12 21:10:10. 239: E/AndroidRuntime (4667) : under Caused by: Java. Lang. ClassNotFoundException: Didn 't find the class "com. Android. Wy. Readclub. SplashScreen" on the path: DexPathList [[zip file "/data/app/com. Android. Wy. Readclub - 2/base. Apk"], nativeLibraryDirectories=[/vendor/lib/system/lib]]
7-12 21:10:10. 239: E/AndroidRuntime (4667) : at dalvik. System. BaseDexClassLoader. FindClass (BaseDexClassLoader. Java: 56)
7-12 21:10:10. 239: E/AndroidRuntime (4667) : at the Java. Lang. This. LoadClass (511). This Java:
7-12 21:10:10. 239: E/AndroidRuntime (4667) : at the Java. Lang. This. LoadClass (469). This Java:
7-12 21:10:10. 239: E/AndroidRuntime (4667) : an android. App. Instrumentation. NewActivity (1065) Instrumentation. Java:
7-12 21:10:10. 239: E/AndroidRuntime (4667) : an android. App. ActivityThread. PerformLaunchActivity (ActivityThread. Java: 2204)
7-12 21:10:10. 239: E/AndroidRuntime (4667) :... 10 more
7-12 21:10:10. 239: E/AndroidRuntime (4667) : Suppressed: Java. Lang. ClassNotFoundException: com. Android. Wy. Readclub. SplashScreen
7-12 21:10:10. 239: E/AndroidRuntime (4667) : at the Java. Lang. Class. ClassForName (Native Method)
7-12 21:10:10. 239: E/AndroidRuntime (4667) : at the Java. Lang. BootClassLoader. FindClass (781). This Java:
7-12 21:10:10. 239: E/AndroidRuntime (4667) : at the Java. Lang. BootClassLoader. LoadClass (841). This Java:
7-12 21:10:10. 239: E/AndroidRuntime (4667) : at the Java. Lang. This. LoadClass (504). This Java:
7-12 21:10:10. 239: E/AndroidRuntime (4667) :... 13 more
7-12 21:10:10. 239: E/AndroidRuntime (4667) : under Caused by: Java. Lang. NoClassDefFoundError: Class not found using the boot Class loader. No stack available

CodePudding user response:

The original poster is obviously program could not find your class, classNotFound, see? You use splashScreen if the activity, in manifeast registered!

CodePudding user response:

Under Caused by: Java. Lang. ClassNotFoundException: Didn 't find the class "com. Android. Wy. Readclub. SplashScreen" on the path: DexPathList [[zip file "/data/app/com. Android. Wy. Readclub -
Don't have the class, the import is write wrong

CodePudding user response:

Under Caused by: Java. Lang. ClassNotFoundException: Didn 't find the class "com. Android. Wy. Readclub. SplashScreen" on the path: DexPathList [[zip file "/data/app/com. Android. Wy. Readclub - 2/base. Apk"], nativeLibraryDirectories=[/vendor/lib/system/lib]]
Can't find the class and see if it is the packet guide did wrong or in manifeast registration

CodePudding user response:

Can run on the simulator?
I will now emulator running, convenient debugging, in addition, the convenience of checking their compilation and so on,
You can emulator try again, if you can can infer the apk error or the true problem, can't, can infer code problem,
On specific code problem, that are answered, the feeling is reasonable, but I recommend investigation problem ~ ~ I come on

CodePudding user response:

The building Lord solved

CodePudding user response:

Project to the clean, and run again

CodePudding user response:

Com. Android. Wy. Readclub. SplashScreen the package name change. And the system package name repeated com adnroid system specified package name is put inside the system class!

CodePudding user response:

The building Lord writing is pretty good!

CodePudding user response:

Try the clean?

CodePudding user response:

null
  • Related