Build Xamarin Android in Windows & Mac resulted different apk

Herman Wijoyo 1 Reputation point
2021-05-12T12:15:40.41+00:00

Hi
Our previous developer setup build Xamarin in Mac which resulted 36mb apk and can be installed successfully into android device.
However, we would like to setup new build environment on Windows machine.
It can successfully build with no erro, but resulted only 26mb and failed every time installed that apk to android device.
all assemblies are the same, but only the size of most of assemblies smaller in size.
same Java version (Jre) and SDK same version (but instead of SDK for Xamarin Mac, this use SDK for Android Windows)

any help ?
Thanks

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Herman Wijoyo 1 Reputation point
    2021-06-04T22:04:38.573+00:00

    Sorry for late reply and thank you for the info.
    I tried to match up the settings (between Mac , Windows and the screen shot above).
    Result : I can build and install into Android device successfully, even the apk size still different between Mac vs Windows.
    Now Windows apk size larger than Mac :)
    but as long as can be installed into Android device, should be OK.
    Thanks again.

    0 comments No comments