Vitaly
Vitaly

Reputation: 91

After Xamarin upgrading APK file contains x86_64 and its size has grown

After I did upgrade to last version of xamarin studio and one of lastest xamarin.android I have found that size of application has grown from 25 MB to 28 MB and while I was loading apk on Google play console I saw that it also including x86_64 that never seen before.

Now it contains armeabi, armeabi-v7a, x86, x86_64 in Google play apk properties screen. May be it is the reason of apk size growing. My last upgrading were at January of 2016 and now I have Xamarin.Android Version: 6.1.2.21.

So, please answer why there is added x86_64, If I didn't add it at Build section of running project. Thanks in Advance!

===Xamarin Studio Community ===
Version 6.1.1 (build 15)
Installation UUID: dd5f86d4-a3f3-4a5e-b904-b27d934f5a7f

Runtime:
Microsoft .NET 4.0.30319.42000
GTK+ 2.24.26 (Light theme)
GTK# 2.12.38

=== NuGet ===
Version: 3.4.3.0

=== Xamarin.Android ===
Version: 6.1.2.21 (Xamarin Studio Community)

Upvotes: 0

Views: 138

Answers (1)

Cheesebaron
Cheesebaron

Reputation: 24460

If you are worrying about APK size, I would suggest that you enable the option to create an APK per ABI. This way you shave off a lot of overhead compared to cramming all the ABI's into one APK.

This is what my build settings look like:

Packaging options

Then I have selected the following ABI's:

Selected ABI's

Why an additional ABI was added to your package is unclear, it could be that it is something the Xamarin build defaults to now or maybe a bug.

If it is indeed a bug, you should report it on http://bugzilla.xamarin.com

Upvotes: 1

Related Questions