安装的Android应用程序是apk的两倍 [英] Android app installed is double the size of the apk

查看:134
本文介绍了安装的Android应用程序是apk的两倍的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将Eclipse ADT工具升级到r20(从r17左右),现在安装在设备上的应用程序的大小是apk的两倍。该应用程序本身运行正常。



这是发布和调试版本,以及是否生成与蚂蚁(并通过usb安装)或启动



我尝试过各种目标版本,但总是一样的。



对于info
- 我不使用复制保护或许可,这是直接安装,而不是通过游戏店。
- 我使用proguard来优化/模糊我的代码。我没有压缩/分析我的apk,一切似乎都是正常的(与之前的apk相比,没有出现这个问题)。



提前感谢所有的信息。 >

解决方案

安装的应用程序的大小总是大于apk。 becoz apk只是一个压缩文件(被保护的文件),已安装的应用程序被解压缩(未压缩)。


I upgraded my Eclipse ADT tools to r20 (from r17 or so) and now the applications installed on the devices use twice the size of the apk. The app itself is running fine.

This happens for both the release and the debug versions, and whether I generate the apk with ant (and install thru usb) or launch the app from eclipse.

I tried with various target versions but it's always the same thing.

For info - I do not use "copy protection" nor licensing, this is direct install, not thru the play store. - I use proguard to optimize/obfuscate my code. I uncompresed/analyzed my apk and everything seems normal (compared to previous apk that do not exhibit this issue).

Thanks in advance for any info on that.

解决方案

Installed app's size is always larger than apk. becoz apk is just a zipped file(copressed file) and installed app is unzipped(uncompressed).

这篇关于安装的Android应用程序是apk的两倍的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆