Today, there's a problem with packing: Duplicate zip entry error.
It's really a lot of disgusting.
When using Ant to package:
Error
I got the following error at-obfuscate step
<span Style= "Font-family:arial, Helvetica, sans-serif;font-size:24px;" ><span style= "Background-color:rgb (255, 255, 255); > Specific error: </SPAN></SPAN>
<span style= "font-family:arial, Helvetica, sans-serif;font-size:24px;" ><span style= "Background-color:rgb (255, 255, 255); ><span style= "White-space:pre" ></span></span></span><pre name= "code" class= "HTML" >[proguard] Preparing output jar [E:\workspace\guosenandroid1.1\bin\proguard\obfuscated.jar][proguard] Copying resources from program Jar [E:\workspace\guosenandroid1.1\bin\proguard\original.jar][proguard] Copying resources from program Jar [E:\workspace\guosenandroid1.1\libs\android-support-v4.jar][proguard] warning:can ' t write resource [ Meta-inf/manifest. MF] (Duplicate zip entry [android-support-v4.jar:meta-inf/manifest. MF]) [Proguard] Copying resources from program Jar [E:\workspace\com_viewpagerindicator\bin\classes.jar][proguard] Warning:can ' t write resource [meta-inf/manifest. MF] (Duplicate zip entry [classes.jar:meta-inf/manifest. MF]) [Proguard] Copying resources from program jar [E:\Workspace\com_viewpagerindicator\libs\android-sUpport-v4.jar][proguard] Warning:can ' t write resource [meta-inf/manifest. MF] (Duplicate zip entry [android-support-v4.jar:meta-inf/manifest. MF]
</pre><pre code_snippet_id= "585492" snippet_file_name= "blog_20150121_17_4950336" name= "code" class= "HTML" >
Through my day's efforts: At last solved the problem.
The problem is that a jar package in my project has been referenced several times. This time Proguard, will be error. This Ken is going to need to be optimized. At present we can only manually delete the extra jar package!
My solution: Out of the oven!
My main project Holeyourbain has a dependent project library, such as:
Then I decisively deleted the Bin/library.jar in the Library directory.
OK, Fix it! Share my happiness with all of you! Ha ha
Android Proguard Duplicate zip entry error