transferred from yuhc163 original Android launcher app Java.lang.NoClassDefFoundError:Class not found using the boot Class loader; no stack tra
Run the app in Android Studio by clicking Running, but it will be generated with an APK, install to the system with ADB, prompting the app to be installed successfully
But running the app is a hint that * * The app has stopped running, see log to find the following information
Caused by: Java.lang.NoClassDefFoundError: class not found using the boot Class loader; no stack trace available
Caused by: java.lang.ClassNotFoundException: didn ' t find class Com.tct.weather.provider.WeatherContentProvider "
Java.lang.RuntimeException:Unable to get provider Com.tct.weather.provider.WeatherContentProvider: Java.lang.ClassNotFoundException:Didn ' t find class ' Com.tct.weat
Obviously already installed the application will not find the class? At the same time, Android studio Click Run is OK, the app is no problem, follow up to find information, found the reason:
In Android Studio 2.3 or later, a Instant Run operation affected our code and required disable
instant Run method is as follows:
Build, execution, Deployment, Settings, File-----Instant Run
Instant Run's operation has affected the code, causing the Android app to start a flash-back issue