Recent

Author Topic: LAMW + Android App Bundles  (Read 384 times)

Manlio

  • Jr. Member
  • **
  • Posts: 88
  • Pascal dev
LAMW + Android App Bundles
« on: November 13, 2019, 03:14:13 pm »
Google's recommended way of publishing apps on the Play Store is not an APK, but an "App Bundle" (*.aab files).

Currently, the only way I can see to do that is with Android Studio.

But personally I like it very much that I can create my APK files with LAMW, with Ant or Gradle, using the script files (e.g. gradle-local-build.bat, gradle-local-apksigner.bat). That works perfectly and I don't need to mess with Android Studio at all.

So, can any one tell us if it's going to be possible to create AAB files as well as APK files from LAMW? Or with some script files? That would be great!

https://developer.android.com/guide/app-bundle/

TLDR: A key advantage of the new AAB system is this. When you upload your apps to Google Play Store, you must typically include at least a 32 bit and a 64 bit version of libcontrols.so. But when users download it, they only need one or the other, not both. If you upload APKs, users will have to download everything (the "fat" APK). But with the new app bundle system, google removes what is not needed, so, for example, 32-bit devices will get an APK with only the 32 bit libcontrols.so, and 64-bit devices will get an APK with only the 64 bit version of the same.

Similarly, I believe it is possible to specify that certain resources will be given to 32 bit devices, other resources to 64 bit devices, and so on.

I wouldn't be too surprised if at some point google will deprecate APK uploads and require everyone to only upload AAB files (Android App Bundles)

Bottom line, it would be nice to have a simple way to make AAB files.

Thanks!
manlio mazzon gmail

 

TinyPortal © 2005-2018