Calsign / APDE

Source code for APDE: Create and run Processing sketches on an Android device.
GNU General Public License v2.0
348 stars 76 forks source link

Conversion to App Bundles for Google Play Store #113

Open MarquesAnderson opened 2 years ago

MarquesAnderson commented 2 years ago

Wanted to reach out and ask if anyone has found a way to turn APDE's signed APKs into Android App Bundles (.aab) so we can publish on Google Play.

Previously, similar to what the wiki mentions here, we could sign and upload our .apk files to the store. With the recent changes, however, Google only wants .aab. How might we get there from our APDE builds?

Calsign commented 2 years ago

I don't know quite what it takes to make an app bundle. I've read that it's not possible to construct an app bundle from an apk, but don't know why precisely. In any case, it should be theoretically possible to use the outputs in APDE's build folder to produce an aab given that you know how to use the right tools.

A more realistic route right now might be to load the sketch into desktop Android mode, pull out the gradle project and put it into Android Studio, and use Android Studio to make the app bundle.

APDE's export tool will need to be augmented to support app bundles. I'll look into it soon.