提交 63c01897 编写于 作者: DCloud-yyl's avatar DCloud-yyl

update app-nativeresource-android.md

上级 ac3f5d80
......@@ -14,7 +14,7 @@ HBuilderX3.6.0起,支持直接在应用项目中配置应用清单文件 Andro
在HBuilderX中,对项目根目录右键菜单 "新建" -> "自定义文件"
![](https://native-res.dcloud.net.cn/images/uniapp/nativeresource/android/newfile.png)
输入文件名称 `AndroidManifest.xml`(注意大小写敏感),点击 “创建” 按钮新建文件
输入文件名称 `AndroidManifest.xml`(注意大小写敏感),点击 “创建” 按钮新建文件
![](https://native-res.dcloud.net.cn/images/uniapp/nativeresource/android/androidmanifest.png)
根据应用需求编辑添加需要的内容,如下示例:
......@@ -50,7 +50,7 @@ HBuilderX中对项目右键菜单 "新建" -> "目录"
输入名称 `nativeResouces`(注意大小写敏感),确定并创建目录。
继续创建“android”子目录、创建“assets”、“res”二级子目录,结构如下:
继续创建“android”子目录、创建“assets”、“res”二级子目录,结构如下:
![](https://native-res.dcloud.net.cn/images/uniapp/nativeresource/android/directory.png)
将需要添加的Android原生资源文件分别拷贝到assets、res目录,云端打包时将会合并到安装包中。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册