question

80240195 avatar image
0 Votes"
80240195 asked 80240195 commented

How do I package the Xamarin. Forms application for Android App Bundles?

How do I package the Xamarin. Forms application for Android App Bundles?
Thank you.

dotnet-xamarin
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

LeonLu-MSFT avatar image
0 Votes"
LeonLu-MSFT answered 80240195 commented

Hello,​

Welcome to our Microsoft Q&A platform!

You can refer to this thread directly to generate aab file.

https://devblogs.microsoft.com/xamarin/android-app-bundle/

Normally, I will unload the project, then edit project file, find the <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> release tag, add <AndroidPackageFormat>aab</AndroidPackageFormat>, then you can reload your project, change your solution configuration to release, archive your project. This will generate an app bundle for your application.

115207-image.png

115315-image.png

Best Regards,

Leon Lu



If the response is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



image.png (126.9 KiB)
image.png (17.1 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@80240195 I have not heard from you for a couple of days. Please let me know if there is anything that I can help here.

0 Votes 0 ·

Thank you.

0 Votes 0 ·