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

钢 屈 371 Reputation points
2021-07-16T03:09:33.117+00:00

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

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

Accepted answer
  1. Leon Lu (Shanghai Wicresoft Co,.Ltd.) 76,161 Reputation points Microsoft Vendor
    2021-07-16T05:57:19.063+00:00

    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.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.