Exclude pre-defined resource in apk file

2019-05-09 06:01发布

Exclude pre-defined resource in apk file

I created a blank project with Android Studio. And then generated apk file, look inside that file I can see : in res/drawable folder there are many unwanted files like : abc_ic_clear_holo_light.xml, abc_ic_clear.xml, and in res/drawable-mdpi-v4 folder there many unwanted images like: abc_ab_bottom_solid_dark_holo.9.png, abc_ab_bottom_solid_light_holo.9.png.

  1. How to remove all of that files ?
  2. How to disable creating drawable-hdpi, drawable-mdpi-v4 (Because, I use webview to display ui of application, so I dont need support multiscreen with android native)

1条回答
迷人小祖宗
2楼-- · 2019-05-09 06:29

You can try to remove the referenced libary (seems like you added android-support-v7 to your project).

查看更多
登录 后发表回答