Tutorial Xamarin APP Bundle 2019

Use App Bundle with this Tutorial

Currently Android is promoting its new package publishing format. As you can see here.

You will need Visual Studio 2019 to create your Bundle Package since this is currently the version that allows to use this package format.

It is very simple, just follow the steps.

Step 1

Open your Android Project and set it to release mode. On the Android csproj add the line with.


App Bundle in Visual Studio 2019

Step 2

Go to your Android folder and delete your /bin and /obj folders otherwise, you would be presented with an error at build time. This step is optional, the main thing is to use a new Build version to avoid errors on the build.

Step 3

Go for your Keystore File you can find it here, but you need to copy it to your Android Project Folder.

Source for Key File in Visual Studio

Step 4

Open your command line in visual studio, that’s simple just go here:

Command Prompt in Visual Studio

Step 5

Go to the folder where you have your Android csproj and your Keyfile from Step 3. You would need to fill the following code on your CMD. You put the name of your project, the name of your Key and the password you use to sign your keys.

Step 6

Look for your App Bundle in the Release folder and paste the command above changing your Project Name, the name of your Keystore,

CMD Finish

Now you are ready to use app bundle, also it is compatible with R8 and D8, to optimize the size of your app. To see more you can go here.

1 reply on “Tutorial Xamarin APP Bundle 2019”

I was recommended this blog by my cousin. I’m not sure whether this post is
written by him as no one else know such detailed about my trouble.
You are amazing! Thanks!

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *