Class not found using the boot class loader; no stack trace available

Posted 南羊北走

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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的主要内容,如果未能解决你的问题,请参考以下文章

delphi程序问题:Class TComPort not found. lgnore the error and continue?

We still found your app uses the iOS Advertising Identifier but does not include ad functionality.

ntpq无法查询同步信息,显示The specified class was not found

ntpq无法查询同步信息,显示The specified class was not found

Cause: the class org.apache.tools.ant.taskdefs.optional.ANTLR was not found.

Cause: the class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask was not found