Friday, April 20, 2012

ProGuard Issue when you try to sign apk

http://stackoverflow.com/questions/2680827/conversion-to-dalvik-format-failed-with-error-1-on-external-jar

 

Windows 7 Solution:

Confirmed the problem is caused by ProGuard command line in the file
[Android SDK Installation Directory]toolsproguardbinproguard.bat

Edit the following line will solve the problem:
call %java_exe% -jar "%PROGUARD_HOME%"libproguard.jar %*

to
call %java_exe% -jar "%PROGUARD_HOME%"libproguard.jar %1 %2 %3 %4 %5 %6 %7 %8 %9

1 comment: