减少的Andr​​oid应用程序大小应用程序、大小、Andr、oid

2023-09-07 11:02:16 作者:辜负

我公司开发的HelloWorld Android应用程序刚刚打印使用的Hello World日食和教程https://developer.android.com/training/basics/firstapp/index.html?hl=it,but让我吃惊的应用程序需要2.21 MB的内存。能否请你建议的方式来减少这种大小几KB的,因为这不应该花太多的空间,因为我还没有添加任何图片或code在里面。

I have developed HelloWorld Android Application which just prints Hello World using eclipse and from tutorial https://developer.android.com/training/basics/firstapp/index.html?hl=it,but to my surprise the app takes 2.21 MB of memory. Can you please suggest way to reduce this size to few kb's as this should not take much space, as I haven't added any images or code in it.

推荐答案

这是APK是一个zip文件,可以打开它,弄清是怎么考虑的空间。如果没有提示你足够回来并添加此信息。

An APK is a zip file, you can open it and figure out what's taking the space. If that doesn't hint you enough come back and add this info.

另外,看看看看 ProGuard的 编辑:哦,等等,我可能误会了你,你的意思是存储空间或运行时内存? (RAM)的

Also, take a look a look at proguard Oh wait, I might have misunderstood you, did you mean storage space or runtime memory ? (RAM)