From bfb8a45ac560c1234be0fab631a79fbc9f2a7450 Mon Sep 17 00:00:00 2001 From: luojian Date: Wed, 9 Jul 2025 14:50:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0namespace?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/project_update.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/project_update.py b/scripts/project_update.py index e5a6738..0aa2602 100644 --- a/scripts/project_update.py +++ b/scripts/project_update.py @@ -236,6 +236,9 @@ storePassword=123456 text = open(os.path.join(dst, "build.gradle"), "r", encoding="utf-8").read() text = text.replace("implementation", "api") + text = text.replace("compileSdkVersion", """ + namespace "com.unity3d.player" + compileSdkVersion""") text = text.replace("unityStreamingAssets.tokenize(', ')", '[".unity3d", ".bundle", ".version", ".bytes", ".hash"]') text = text.replace("apply plugin: 'com.android.library'", """ plugins {