How to use proguard in android application ?

At Your project root you will find file named project.properties.

image1

now open this file you will find that proguard code is in comments.

proguard comment
proguard comment

remove this comments.
Now configure your proguard file available at same location under this guidance Proguard Configuration

Create your Proguard.cfg file.

In newer version you will find proguard-project.txt no need to worry simply write in project

proguard.config=proguard-project.txt

Enjoy !

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s