Error type:
Geneva- - .:Ten:15.508: E/androidruntime (849): Caused By:java. Lang. ClassNotFoundException:com. Example. AAA. MainactivityGeneva- - .:Ten:15.508: E/androidruntime (849): At Dalvik. System. Basedexclassloader. Findclass(Basedexclassloader. Java: A)Geneva- - .:Ten:15.508: E/androidruntime (849): at Java. Lang. ClassLoader. LoadClass(ClassLoader. Java:501)Geneva- - .:Ten:15.508: E/androidruntime (849): at Java. Lang. ClassLoader. LoadClass(ClassLoader. Java:461)Geneva- - .:Ten:15.508: E/androidruntime (849): at Android. App. Instrumentation. Newactivity(instrumentation. Java:1053)Geneva- - .:Ten:15.508: E/androidruntime (849): at Android. App. Activitythread. Performlaunchactivity(Activitythread. Java:1974)Geneva- - .:Ten:15.508: E/androidruntime (849): ... OneMore
Analysis: ClassNotFoundException Mainactivity class was not found.
At the time of packing, the V4 conflict caused
Solution, switch the version of the API to recompile, that is, a version of the SDK, cleanis not
is to change the SDK version in the location marked in the diagram, and then change to the version you want after recompiling!
Android Project compile time appears: caused by:java.lang.ClassNotFoundException:com.example.aaa.MainActivity