Android Proguard with external jar

前端 未结 2 508
攒了一身酷
攒了一身酷 2020-12-13 15:21

I\'m have added external jar file to the libs folder of mt project and configure it in the build path. When i try to \"Export Android Package\" i receive a Proguard error me

2条回答
  •  自闭症患者
    2020-12-13 15:41

    com.itextpdf.text.BaseColor is included in the jar you have added, I guess. It extends java.awt.Color which is not included in it but in the distribution of Java you are using under Eclipse.

    When you are exporting the file, the export process is jammed as java.awt.color doesn't exist in the Android base framework. I don't think this is related to Proguard: this must happen even if you disable the obfuscation.

提交回复
热议问题