APK created by Android Studio is larger than APK created by Eclipse. Why?

淺唱寂寞╮ 提交于 2019-12-12 18:22:06

问题


I checked the files of the APKs and I found that the one from AS has much more resources included like: images, xmls, ... all related to holo theme. My question is how can I get rid of them? I want in the APK only the resources added by me.


回答1:


Removing from app.iml the following lines will solve my issue.

  1. orderEntry type="library" exported="" name="appcompat-v7-20.0.0" level="project"
  2. orderEntry type="library" exported="" name="support-annotations-20.0.0" level="project"
  3. orderEntry type="library" exported="" name="support-v4-20.0.0" level="project"


来源:https://stackoverflow.com/questions/25962707/apk-created-by-android-studio-is-larger-than-apk-created-by-eclipse-why

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