java.lang.NoClassDefFoundError:如何解决这个错误? [英] java.lang.NoClassDefFoundError: how do I fix this error?
本文介绍了java.lang.NoClassDefFoundError:如何解决这个错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
03-27 16:18:50.986:E / AndroidRuntime(3306) :java.lang.NoClassDefFoundError:org.osmdroid.util.GeoPoint
我已经做了一些googgling,它对我来说还是个谜。
这是我的IDE配置。
Eclipse:Indigo发行版本2
Java SDK:1.6.0_31
Android SDK:17
解决方案
您需要进入Build Path / Order and Export,并查看SDK 17中的库。然后清理您的项目。
I am developing an Android application which makes use of the Osmdroid maps api. I have added the library as an external jar in my build path and I do not get any errors during compile time. However, upon device deployment I get the following error:
03-27 16:18:50.986: E/AndroidRuntime(3306): java.lang.NoClassDefFoundError: org.osmdroid.util.GeoPoint
I have done some googgling and it is still a mystery to me.
Here is my IDE configuration.
Eclipse: Indigo Release version 2
Java SDK: 1.6.0_31
Android SDK: 17
解决方案
You need to go into Build Path/Order and Export, and check the libs as of SDK 17. Then clean your project.
这篇关于java.lang.NoClassDefFoundError:如何解决这个错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文