From 6eb2f5585850dc36546bc0a738c5b0c916dc650c Mon Sep 17 00:00:00 2001 From: Nexoniarz Date: Mon, 19 Oct 2026 22:33:25 +0200 Subject: [PATCH] Android: no .idsig file next to the APK (v4 signing off) Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01NMSrd5oe1GpUD7E6d825KP --- android/build_apk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/build_apk.py b/android/build_apk.py index 1abbfc8..59ebb07 100644 --- a/android/build_apk.py +++ b/android/build_apk.py @@ -105,7 +105,7 @@ def main(): "-keyalg", "RSA", "-keysize", "2048", "-validity", "10000", "-dname", "CN=Fry3DX", stdout=subprocess.DEVNULL) os.makedirs(os.path.join(ROOT, "dist"), exist_ok=True) out = os.path.join(ROOT, "dist", f"{APP}-{app_version()}-android-arm64.apk") - run(os.path.join(tools, "apksigner"), "sign", "--ks", keystore, "--ks-pass", f"pass:{password}", "--out", out, aligned) + run(os.path.join(tools, "apksigner"), "sign", "--v4-signing-enabled", "false", "--ks", keystore, "--ks-pass", f"pass:{password}", "--out", out, aligned) print(f"{os.path.relpath(out, ROOT)}: {os.path.getsize(out) // (1024 * 1024)} MB") if "--install" in sys.argv: run("adb", "install", "-r", out)