do doan
do doan

Reputation: 91

Generate Android App Bundle aab from apk file

I'm using Xamarin to develop android app. As I know, it hasn't supported android app bundle. So I would like to know if there is any way to generate an Android App Bundle - aab file from the apk via terminal? Or any other good way to process ?

Upvotes: 4

Views: 16622

Answers (2)

Er. Harsh Rathore
Er. Harsh Rathore

Reputation: 798

answer given by Deeep Dip is right, but he might not be able to explain it properly (step-by-step). Also the tool "apktoaabconverter.com" he mentioned below was paid (at the time I'm answering the question).

I followed his manual steps and came out with a simplest solution which is using the telegram platform.

Actually I found some bots there simply by searching for "APK to AAB" in the Global search bar. This bots on their side are using the same procedure @deeep-div was trying to explain (Found out via logs attached with .aab).

Direct links to the telegram bots:

  1. http://t.me/apktoaabbot (Used to be busy a lot)
  2. http://t.me/apktoaab_bot (This one I used to convert my .apk to .aab)

NOTE: You may need wait around 30 minutes after sending your .apk file. Time could vary as per the load on bot servers.

Upvotes: -1

Izabela Orlowska
Izabela Orlowska

Reputation: 7532

No, the APK itself doesn't have enough information for the bundletool to create a bundle (AAB). It can work the other way round - to create an APK from a bundle.

If you want to create a bundle by hand, you will need to do a lot of stuff by hand, including resource handling, code compilation etc. You can find more information about how to do that in the official documentation.

Upvotes: 8

Related Questions