1

我知道这个问题被问了很多,但我似乎找不到问题的解决方案:

[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 库文件。

任何人的想法?

4

0 回答 0