Skip to content

labelle-android v0.2.0 — the Android provider

Choose a tag to compare

@apotema apotema released this 27 Sep 01:36
· 17 commits to main since this release
8caa8aa

labelle-android is now a labelle-cli provider for the android target (labelle-cli RFC #406, #405), on top of the runtime services from v0.1.x.

  • Provider (plugin.labelle manifest v2, name/namespace android, target android, contract >=1.2.0 <1.2.1, one host tool bin/labelle-android):
    • after build hook package → zig-out/apk/game.apk (release strip + symbols, slimmed assets, launcher icon, manifest, aapt/zipalign/apksigner; byte-identical to the former CLI packager);
    • replace run hook deploy → adb install -r + am start with the run options as intent extras;
    • replace bundle hook bundle → a versioned APK with versionCode = --build-number;
    • commands labelle android doctor | run | deploy.
  • Settings move from project.labelle .android to providers/android.json (schema v1, strict; secrets only as env:/file:).
  • Requires labelle-cli v2.0.0 (the release that removes built-in Android) and labelle-bgfx ≥ 0.30.0 (older bgfx links a second copy of the JNI helpers → duplicate labelle_android_* symbols).
  • Not in this release: labelle android studio (Gradle export), sokol-Android (#14), projectless doctor (run it inside a project).

Pin: .{ .name = "android", .repo = "github.com/labelle-toolkit/labelle-android", .version = "0.2.0" }.