android_support_v4.jar重复报错记录

2018-08-30  本文已影响0人  Jens丶
Unity摊
CommandInvokationFailure: Unable to convert classes into dex format.
C:/Program Files/Java/jdk1.7.0_80\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="C:/android-sdk\tools" -Dfile.encoding=UTF8 -jar "D:\Program Files\Unity5.6.4p4\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar" -

stderr[
warning: Ignoring InnerClasses attribute for an anonymous inner class
(xxx.xxxxxx.xx.xxxxxxxx.xxxxxxxx.x.x) 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.
warning: Ignoring InnerClasses attribute for an anonymous inner class
(xxx.xxxxxx.xx.xxxxxxxx.xxxxxxxx.x.x) 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.

Jenkins一键打包时,遇到比较难发现的小问题,特此记录。

以上是打包时报的错~ 通过分析EditorLog仍然无果,经过检查发现Plugin/Android的子目录下有两个 “android_support_v4.jar”!!!!!!!!!!!!!!!!!!!

解决方法就不用说了,祝开发顺利。

上一篇 下一篇

猜你喜欢

热点阅读