Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android ProGuard Unable to access jarfile ..\lib\proguard.jar in IntelliJ 11.1

I have a problem about Unable to access jarfile ..\lib\proguard.jar when run Export Singed Application Package from IntelliJ 11.1.

Environment:

  • Run proguard is success in Android SDK r16.
  • Run proguard is failed in Android SDK r17.

The problem is IntelliJ setting error or IntelliJ 11 bug?

like image 310
德耀 李 Avatar asked Mar 29 '12 02:03

德耀 李


1 Answers

Edit $ANDROID_SDK\tools\proguard\bin\proguard.bat and set absolute path to PROGUARD_HOME

May look like this:

SET PROGUARD_HOME="c:\android-sdk\tools\proguard" java -jar "%PROGUARD_HOME%"\lib\proguard.jar %* 
like image 143
exslim Avatar answered Oct 09 '22 06:10

exslim