Reputation: 1
This is a real newbie question. I installed proguard, and am trying to export my first app with it. I am getting the following error (real path substituted) in my eclipse console.
[2011-10-13 10:11:56 - RobotInvaders] Proguard returned with error code 1. See console [2011-10-13 10:11:56 - RobotInvaders] Unable to access jar file "/[workspace path]/android-sdk-mac_x86/tools/proguard/lib/proguard.jar"
But I can access it through my xterm. There are no spaces or strange characters in the workspace path. I even changed the permissions with no effect. At first I thought some environment variable might be missing, but the error knows enough to get the whole correct path. The error comes up after about 30 - 45 seconds
Any clues?
Upvotes: 0
Views: 1246
Reputation: 689
In C:\android-sdk\tools\proguard\bin\ edit proguard.bat
Delete these three lines
IF EXIST "%PROGUARD_HOME%" GOTO home
SET PROGUARD_HOME=..
:home
Replace with the path of your sdk tools. My path is..
SET PROGUARD_HOME="C:\android-sdk\tools\proguard"
Upvotes: 2
Reputation: 25156
I really didn't understand your question but these might help you :
Using Proguard for Android in Eclipse got Error
Proguard error: Expecting class path seperator - not sure where I need to put a path in quotes
Android ant problem (for using ProGuard)
Upvotes: 0