Android studio 直接运行可以按照app,在 outputs/apk 下面 adb install app-debug.apk 后运行报错:
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
In my case it is happening because of instant run, Just disable it
Goto :
Android Studio --> File --> Setting --> Build, execution, deploy --> Instant run.