1

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.

ישו אוהב אותך
  • 28,609
  • 11
  • 78
  • 96
Sudhanshu Gaur
  • 113
  • 2
  • 8

1 Answers1

1

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

Deng
  • 11
  • 3