Custadian
Custadian

Reputation: 855

Issue with Proguard

I am in big trouble because when I am uncommenting the below line from the properties.txt file from prject.

To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):

#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt

My adt version is 22 and current API level is 17

It is showing error enter image description here

This file is present in the particular folder.

Upvotes: 0

Views: 113

Answers (2)

cyanide
cyanide

Reputation: 3964

You should have tools/proguard directory in your android-sdk installation (the full path is given in your message).

This proguard directory must have subdirectory bin, containing proguard.bat (it isn't there, therefore you get the message), and also subdirectorty lib with proguard.jar.

To make it work for sure, download latest version of proguard and place the unzipped file in the correct location.

Upvotes: 1

hungr
hungr

Reputation: 2096

If you are using sdk tool rev. 23, you may be suffered from the packaging bug introduced which cause entire Proguard files missing.

FYI: https://code.google.com/p/android/issues/detail?id=72419

Upvotes: 0

Related Questions