From 1aada87415010f28f6a8089f5eade05a6e4b7bf7 Mon Sep 17 00:00:00 2001 From: yanyilin Date: Mon, 11 Nov 2024 19:06:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0android=E5=B9=B3=E5=8F=B0enab?= =?UTF-8?q?leResourceOptimizations=E9=85=8D=E7=BD=AE=E6=8F=8F=E8=BF=B0?= =?UTF-8?q?=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/collocation/manifest.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/collocation/manifest.md b/docs/collocation/manifest.md index defb6e84..d4af658d 100644 --- a/docs/collocation/manifest.md +++ b/docs/collocation/manifest.md @@ -140,6 +140,14 @@ uni-app x 的渠道信息配置,云端需在“App打包”界面配置,详 manifest.json中不提供配置 `manifestPlaceholders` 数据,如果应用使用的插件或三方SDK需要使用,可在项目的 `nativeResources/android/manifestPlaceholders.json` 文件中配置,详情参考[Android原生应用清单文件和资源](https://uniapp.dcloud.net.cn/tutorial/app-nativeresource-android.html#manifestplaceholders)。 +###### enableResourceOptimizations @enableresourceoptimizations + +> HBuilder4.33版本新增支持 + +Android平台云端打包时gradle.properties的android.enableResourceOptimizations配置项,配置后会混淆原生res资源文件,默认值为 ture,如不希望混淆原生res资源文件,可通过以下方式配置关闭: +```json +"enableResourceOptimizations": false +``` ###### aaptOptions @aaptoptions -- GitLab