Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does the android apk size differs when built from windows and mac

We are a group of developers who are using windows and mac machine for android development. Apparently there is a size difference in the apk when built from windows and mac. There is an additional 300k which gets added to the apk when built from mac.

We are using eclipse with the adt plugin for android development.

Is this a known issue ? Is there some way by which we can remove this extra size from the apk ?

like image 518
Siddhant Jain Avatar asked Jan 30 '15 12:01

Siddhant Jain


People also ask

What is the maximum size of APK file in Android?

Each expansion file can be up to 2GB in size. Users must run Play Store version 5.2 or higher to install 100MB APKs.

Does APK size matter?

We found that smaller APK sizes correlate with higher install conversion rates, with an even larger impact on conversion rates for users in emerging markets. As many developers are shifting their focus towards expansion into new markets, particularly emerging markets, it is important to be cognizant of your app's size.

What is the size of APK?

Google Play requires that the compressed APK that users download be no more than 100MB. For most apps, this is plenty of space for all the app's code and assets.


1 Answers

It is because Apple & Microsoft define gigabyte differently. Microsoft defines 1GB as 1024 MB, whereas Apple defines 1GB as 1000 MB.

So, as the size of the content of Res vary the size of Apk will also vary.

You can refer this link for more details on size. https://en.wikipedia.org/wiki/Gigabyte

like image 113
Ashish John Avatar answered Oct 26 '22 16:10

Ashish John