I want to use ProGuard to obfuscate the android's src code,.
The steps:
1、using eclipse to export a jar file,say a.jar, of the android project
only include the java file, not include the res、asset directory.
2、using the dx tool to convert the a.jar file to apk file. if success,
I will use ProGuard to obfuscate the a.jar file. but it fails, throw
the exception:
UNEXPECTED TOP-LEVEL EXCEPTION:
java.util.zip.ZipException: System can not find specific file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:203)
at java.util.zip.ZipFile.<init>(ZipFile.java:234)
at com.google.command.dexer.Main.processArchive(Main.java:278)
at com.google.command.dexer.Main.processOne(Main.java:233)
at com.google.command.dexer.Main.processAllFiles(Main.java:
169)
at com.google.command.dexer.Main.run(Main.java:126)
at com.google.command.dexer.Main.main(Main.java:107)
at com.google.command.Main.main(Main.java:51)
1 error; aborting
Why does the problem occur? If anybody obfuscate the android's code
successfully, pls tell me. Thanks very much!!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---