java.lang.NoClassDefFoundError on Android sdk and ADT 20 Windows 64

↘锁芯ラ 提交于 2019-12-02 02:58:12

You need to simply drag the jar file into the libs folder and not manually add it. Try deleting the jar file from

Properties -> Java Build Path -> Libraries

clean and rebuild the project.

Explanation: The process of loading library has been automated and changed from ADT 16 onwards and it is not backward compatible with the older method. You were actually trying to use both the methods of adding library which was adding the library twice and breaking it.

Go on the tab "Order and Export", inside "Properties->Java Build Path" and check the unchecked boxes. It worked here...

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!