Skip to content

App size significantly increased with Xamarin.Android 12.2 #6776

@tipa

Description

@tipa

Android application type

Classic Xamarin.Android (MonoAndroid12.0, etc.)

Affected platform version

VS17.1 + Xamarin.Android 12.2

Description

When building my app on VS 17.0.5 and Xamarin.Android 12.1.0.5, my .aab file is ~36 MB large.
With VS17.1 + Xamarin.Android 12.2, the same app now builds to a .aab which is ~39 MB large.
I am using Startup Tracing.

I tried to find Release Notes to see what could have changed causing the 3 MB increase, but wasn't able to find them.
When inspecting the .aab files, it seems like the "libaot-MyApp.dll.so" file went from 238 KB to almost 4 MB. Why?

Steps to Reproduce

  • Build -> Archive (in Release mode)
  • Inspect .aab size

Did you find any workaround?

No response

Relevant log output

No response

Metadata

Metadata

Labels

Area: App+Library BuildIssues when building Library projects or Application projects.needs-triageIssues that need to be assigned.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions