Exclude pre-defined resource in apk file

怎甘沉沦 提交于 2019-12-07 10:15:26

问题


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:


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



来源:https://stackoverflow.com/questions/26204069/exclude-pre-defined-resource-in-apk-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!