How come I get this error?
Check the picture:
我在普通的 java 项目(不是 android 项目)上使用了相同的 jar,它曾经可以工作。
怎么了?
You're getting a NoClassDefFoundError
because your jar file is not available at runtime. In order for it to be available at runtime you'll have to check the checkboxes on your jar file in your java build path like so:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)