From 78d6ac162378ea21f08c180a4a4e2713da69592b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=9C=E5=BA=86=E6=B3=89?= Date: Tue, 23 May 2023 10:24:06 +0800 Subject: [PATCH] Update uts-for-android.md --- docs/plugin/uts-for-android.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/plugin/uts-for-android.md b/docs/plugin/uts-for-android.md index 7cc63817f..ce2585a3b 100644 --- a/docs/plugin/uts-for-android.md +++ b/docs/plugin/uts-for-android.md @@ -202,6 +202,19 @@ uts-nativepage -> uts.sdk.modules.utsNativepage 除了这里列出的layout、values目录外,还支持anim等所有android标准资源目录 + +需要注意的是:如果res资源中使用了 android appcompat库内置的资源,需要在config.json中添加下面的配置: + +```json +{ + "dependencies": [ + "androidx.appcompat:appcompat:1.0.0" + ] +} + + +``` + ### 3.3 配置asset资源 以hello UTS中的uts-advance插件为例。 -- GitLab