java.lang.NoClassDefFoundError:ADT 17已知问题 [英] java.lang.NoClassDefFoundError : ADT 17 known issue
问题描述
我正在使用android sdk中的wsimport.exe,并手动导入(在输出类中拖动)到我的项目中(没有外部jar - 导入的文件是src文件夹的一部分)。
I'm using wsimport.exe from the android sdk, and importing manually (dragging in the output classes) into my project (no external jars - the imported files are part of the src folder).
它在java测试项目中运行良好,但是当我尝试在android项目上实现它时,我正面临着这个奇怪的问题。我已经阅读了有关ADT 17更改的已知问题的一些信息,但这些都与外部罐子重新排序有关。我没有进口任何罐子,所以它与我无关。
It works great on a java test project, but when I'm trying to implement it on an android project I'm facing this weird problem. I already read some information about a known problem with ADT 17 changes but it all related to external jars reordering. I'm not importing any jar so it's not relevant to me.
有人知道这是否是ADT 17问题的一部分?
Does anyone know if it's part of the ADT 17 problem?
这是我的logcat:
Here is my logcat:
04-06 02:07:09.340: E/AndroidRuntime(13308): java.lang.NoClassDefFoundError: org.tempuri.Service1
04-06 02:07:09.340: E/AndroidRuntime(13308): at hhs.pack.ListViewActivity.getListFromDB(ListViewActivity.java:72)
04-06 02:07:09.340: E/AndroidRuntime(13308): at hhs.pack.ListViewActivity.onCreate(ListViewActivity.java:40)
推荐答案
您是否通过此链接查看了相关信息? http://tools.android.com/recent/dealingwithdependenciesinandroidprojects
Did you go through the information at this link? http://tools.android.com/recent/dealingwithdependenciesinandroidprojects
这篇关于java.lang.NoClassDefFoundError:ADT 17已知问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!