Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
250 views
in Technique[技术] by (71.8m points)

Android - Application (apk) Maximum size

I am going to install first application in my android phone, but having some doubts related to Android Memory (Maximum size of APK).

So please help me know and solve the problems:

  1. What is maximum size of the apk that can be supported by the android ?
  2. When we install any apk file in real phone, where does application installed (in SD-card or other memory) ??

I have referred this link: http://groups.google.com/group/android-developers/browse_thread/thread/7965885da4d1a03a and also searched lot.

I came Across the search on the web that many people are facing the same issue What is the maximum size of Application supported by Android. I think this question also help to the people who are connected with Android application programming and development.

Update:

This time i am having 58Mb application from that 52.5MB Images and it runs on the my HTC Hero mobile but On Emulator, it shows an error:

Failed to upload my_application.apk on device 'emulator-5554'
java.io.IOException: Unable to upload file: No space left on device
Launch canceled!

Now please suggest me the way to store images inside the Drawable folder? is there any way to zip the images or such method?

Question&Answers:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Today i came across one point where it is clearly defined that we can upload maximum 50MB sized APK onto the market. So indirectly, we can install an application from a market having maximum 50MB size.

Here is a link: http://www.google.com/support/androidmarket/developer/bin/answer.py?hl=en&answer=113469 , here just check the below sentence.

APK file size: Maximum supported size is 50MB.

So its clear that we can upload maximum 50MB sized APK file, but if we are developing application locally and running/testing for the internal purpose then it is fine.

Update - 6 Mar 2012

Android Apps Break the 50MB Barrier and expanding the Android app size limit to 4GB., check this tutorial.

Update -28 Sep 2015

The Google Play team (ANDROID DEVELOPER BLOG) ::(GOOGLE) update the max size limit. They are increasing the APK file size limit to 100MB from 50MB. This means developers can publish APKs up to 100MB in size,Please refer this link for more information:Google Developer blog


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...