Where is proguard-rules.txt in android studio?

By : Kushal
Source: Stackoverflow.com

In my demo project, proguard-rules.txt is not available in Android studio.

I must be missing some code :

enter image description here

Where can I find proguard-rules.txt file?

I want to add proguard rules

Any help is appriciated

Thank you

By : Kushal


it is located under your sdk folder, usually in yoursdk/tools/proguard/. If you are using linux or mac, once you cd into the sdk folder you can run

find . -iname proguard-rules.txt

to look for it

By : Blackbelt

This video can help you solving your question :)
By: admin