[Android] Alternative Packaging/Fusing Method Suggestions

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
User avatar
AuahDark
Citizen
Posts: 78
Joined: Mon Oct 23, 2017 2:34 pm
Location: Indonesia
Contact:

[Android] Alternative Packaging/Fusing Method Suggestions

Post by AuahDark » Mon Jan 18, 2021 3:16 am

As per Google announcements, submitting updates (or new apps) in Play Store starting on Q2 2021 requires Android Application Bundle. This renders the Game_Distribution/APKTool method obsolete.

Recently I realize that there's 2 ways to fix this, both with their downsides:
  1. Tell user to complie from source. This offers user the highest flexibility, including modification to the Java side (or even C++ side if user also needs to embed external Lua C modules) of the app. The downside is user needs to download GBs of SDKs and NDKs and additional build-time dependency, which may not suitable for some users due to slow internet and/or low disk space (those things are huge).
  2. Perform modification to Android Application Budle. This requires knowledge on the bundle format (it's just zip file with specifically structured files inside), especially how the AndroidManifest.xml is encoded. Also GitHub Actions already provides AAB as the artifacts so someone can simply grab those AABs. The downside is someone needs to contribute to the script to manipulate AABs, which can means never. I also don't know if this method is even allowed by Google. Relevant tweet.
Any suggestion and pointer is welcome.

Cross-posted from the GitHub issue.
Profile. Do you encounter crashes in LÖVE Android and wanna send me logcats? Please hit me up in LÖVE Discord and send the full logcat file!

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 24 guests