找不到类,没有类的定义中 [英] could not find class, No class definition found
本文介绍了找不到类,没有类的定义中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我收到找不到类
和没有找到
错误的Android类定义
I'm getting Could not find class
and No class definition found
error in Android
这些类是jar文件内。我已在一个单独的文件夹的jar文件,但它在运行时不会认可。
Those classes is inside the jar files. I've added the jar files in a separate folder, but it is not recognized at runtime.
推荐答案
该JAR不在CLASSPATH。该错误意味着,类装载器不能找到它。不要相信你的眼睛;相信类加载器。
The JAR isn't in the CLASSPATH. That error means that the class loader can't find it. Don't believe your eyes; believe the class loader.
这篇关于找不到类,没有类的定义中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文