我知道这个问题已经被问了很多,但我似乎无法找到问题的解决方案:
[2013-05-06 14:22:12 - MobileBim-android] Dx 1 error; aborting
[2013-05-06 14:22:12 - MobileBim-android] Conversion to Dalvik format failed with error 1
[2013-05-06 14:23:01 - MobileBim-android] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(com.sun.jna.Native$1) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2013-05-06 14:23:01 - MobileBim-android] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(com.sun.jna.Native$2) that doesn't come with an
...
[2013-05-06 14:23:02 - MobileBim-android] Dx
trouble processing "javax/xml/namespace/QName.class":
Ill-advised or mistaken usage of a core class (java.* or javax.*)
when not building a core library.
我该怎么做才能解决这个问题?在依赖项中向清单添加内容?
谢谢!
编辑:
我将jna 3.3.0源代码文件添加到我的项目中,我仍然得到相同的错误,所以我想有些东西必须忽略它们并且仍然会用于其他一些jna库文件。
有人有想法吗?