Sudhanshu Gaur
Sudhanshu Gaur

Reputation: 113

No resources.txt file created after using shrinkResources with proguard in android?

actually I am trying to use shrinkResources in my android project, now I have added below lines in my gradle file:

minifyEnabled true
shrinkResources true
zipAlignEnabled true

Now when I try to run my app, it does not creates any resources.txt file which according to docs below should have been created. resource-shrinking

Can anyone please tell me what i am doing wrong because of which no resources.txt file is creating.

Please help me guys, it would be really helpful for me.

Upvotes: 1

Views: 379

Answers (1)

Deng
Deng

Reputation: 11

upgrade your gradle config. detail
you can see resources.txt under mapping dir.
or
./gradlew --debug clean assembleRelease
and what you want will show in console. detail

Upvotes: 1

Related Questions