首页 > 代码库 > Class not found using the boot class loader; no stack trace available
Class not found using the boot class loader; no stack trace available
在 Android Studio 2.3 及以上版本,关闭 Instant Run即可
关闭 Instant Run
File -> Settings -> Build, Execution, Deployment -> Instant Run
错误代码如下:
at java.lang.Class.classForName(Native Method)
at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
... 12 more
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
Class not found using the boot class loader; no stack trace available