From e9e6c0ca8ffd628fc7c8bfd016099892306bf2e8 Mon Sep 17 00:00:00 2001 From: wuqifeng <540416539@qq.com> Date: Sun, 13 Sep 2026 18:46:59 +0800 Subject: [PATCH] fix: 修复分包 APK 输出文件名冲突 --- android/app/build.gradle | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 08e4653..39d8d25 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -76,8 +76,11 @@ android { variant -> variant.outputs.all { output -> + def abi = output.getFilter(com.android.build.OutputFile.ABI) + def abiSuffix = abi == null ? "" : "_${abi}" output.outputFileName = "wow_${buildType.name}" + "_${defaultConfig.versionName}(${defaultConfig.versionCode})" + + abiSuffix + "_" + new Date().format("yyyy-MM-dd_HH-mm", TimeZone.getDefault()) + ".apk" } -- libgit2 0.22.2