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 !

Leave a Reply

Your email address will not be published. Required fields are marked *