Reputation: 233
i upload my application in android market.i have an problem my apk file exceed 50 MB.in developer console to download expansion file. what is this? how to download? otherwise how to compress my apk as 50 MB. help me..
Upvotes: 0
Views: 3030
Reputation: 20140
I know it's a late answer, but it may help others who encounter a similar issue:
As of recently (Sept. 2015), you are able to upload APKs up to 100 MB if you are targeting Android 2.3 and above - you can read more about it on this help page. This limit used to be 50 MB before. There is also the Android developers blogspot article explaining the changes here.
Alternatively, or if your app exceeds the 100 MB APK limit, you can use expansion files. These are additional files that are downloaded after your app has installed and can be up to 4 GB (to be specific, you can have two expansion files of up to 2 GB each). You can learn more about expansion files on this page on the Android Developers website.
Upvotes: 1
Reputation: 19199
There is a way to override this. You are now allowed to upload two additional resource files that have a limit of 2gb each. So, you can add/move up to 4gb of extra resources (in your case move). You can read more about this here (android-developers blogspot).
edit: Tanis.7x had a more useful link.
Upvotes: 2
Reputation: 67259
Have you read through the Android Developer's APK Expansion Files page? It contains great instructions on how to use expansion files.
It's difficult to give tips on how to best utilize the expansion files or on how to decrease the size of your APK without knowing more about your application. In general, I would say the easiest way to decrease the size of your APK would be to move resources (especially any large ones you may have, such as videos) to an expansion file.
You should also check to make sure that you don't have any unused or unwanted resources in your APK, such as the Play store promotional graphics for your app.
Upvotes: 2