帖子
帖子
用户
博客
课程
显示全部楼层
24
帖子
0
勋章
89
Y币

[BUG] android端编译失败

[复制链接]
发表于 2017-4-26 13:38:05
android端编译失败,ios能够正常编译已做过如下尝试:
1、将所有的代码和配置文件移动到新建项目后ios、android都可以正常编译
2、将rongyun2模块移除后ios、android都可以正常编译;融云模块很久没有发布新版本,而且近期编译都正常,因此可以排除融云模块本身的问题http://downloadpkg.apicloud.com/zip/0a/71/0a71e31b139da8799369360e36981a22.log



  1. 2017-04-26 12:17:14
  2. cp:是否覆盖"libs/armeabi/libsec.so"?
  3. UNEXPECTED TOP-LEVEL EXCEPTION:
  4. java.lang.IllegalArgumentException: already added: Lcom/google/gson/annotations/Expose;
  5.         at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:122)
  6.         at com.android.dx.dex.file.DexFile.add(DexFile.java:161)
  7.         at com.android**.**mand.dexer.Main.processClass(Main.java:685)
  8.         at com.android**.**mand.dexer.Main.processFileBytes(Main.java:634)
  9.         at com.android**.**mand.dexer.Main.access$600(Main.java:78)
  10.         at com.android**.**mand.dexer.Main$1.processFileBytes(Main.java:572)
  11.         at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284)
  12.         at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166)
  13.         at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)
  14.         at com.android**.**mand.dexer.Main.processOne(Main.java:596)
  15.         at com.android**.**mand.dexer.Main.processAllFiles(Main.java:498)
  16.         at com.android**.**mand.dexer.Main.runMonoDex(Main.java:264)
  17.         at com.android**.**mand.dexer.Main.run(Main.java:230)
  18.         at com.android**.**mand.dexer.Main.main(Main.java:199)
  19.         at com.android**.**mand.Main.main(Main.java:103)
  20. warning: Ignoring InnerClasses attribute for an anonymous inner class
  21. (com.tencent.mm.opensdk.diffdev.a.c) that doesn't come with an
  22. associated EnclosingMethod attribute. This class was probably produced by a
  23. compiler that did not target the modern .class file format. The recommended
  24. solution is to recompile the class from source, using an up-to-date compiler
  25. and without specifying any "-target" type options. The consequence of ignoring
  26. this warning is that reflective operations on this class will incorrectly
  27. indicate that it is *not* an inner class.
  28. warning: Ignoring InnerClasses attribute for an anonymous inner class
  29. (com.tencent.mm.opensdk.diffdev.a.b) that doesn't come with an
  30. associated EnclosingMethod attribute. This class was probably produced by a
  31. compiler that did not target the modern .class file format. The recommended
  32. solution is to recompile the class from source, using an up-to-date compiler
  33. and without specifying any "-target" type options. The consequence of ignoring
  34. this warning is that reflective operations on this class will incorrectly
  35. indicate that it is *not* an inner class.
  36. 1 error; aborting
  37.     (skipping file '.project' due to ANDROID_AAPT_IGNORE pattern '.*')

  38. THIS TOOL IS DEPRECATED. See --help for more information.

  39. java.io.FileNotFoundException: /uzmap/temp/mS30Wo4v407ESUA/android/bin/classes.dex does not exist
  40. jarsigner: 无法打开 jar 文件: /uzmap/temp/mS30Wo4v407ESUA//uzmap.apk
复制代码


380
帖子
4
勋章
6
Y币
加了哪些模块,截下图。
24
帖子
0
勋章
89
Y币
模块截图
C12C3928-B844-4784-B420-41AB66CE6989.png
24
帖子
0
勋章
89
Y币
技术支持-F 发表于 2017-4-26 15:17
加了哪些模块,截下图。

模块截图请看看
380
帖子
4
勋章
6
Y币
penwei 发表于 2017-4-26 15:30
模块截图请看看

重新编译看看
24
帖子
0
勋章
89
Y币

已恢复正常。。。
您需要登录后才可以回帖 登录

本版积分规则