Minas
Minas

Reputation: 1422

Remove unused resources from appcompat

In the latest update of appcompat Google added resources for xxhdpi devices. So my app size increased by ~100 kb.

Actually I don't use most of this resources (pngs) in my app. How can I exclude this files from the final apk?

Upvotes: 2

Views: 374

Answers (1)

joao2fast4u
joao2fast4u

Reputation: 6892

If you are importing the AppCompat project, you can go directly to the resources location and delete the files. But consider that 100 kb is nearly nothing for an APK. And in a near future, you might need those resources, having in consideration that screen devices are getting bigger and screen densities too.

Upvotes: 1

Related Questions