OpenHarmony开发者论坛
标题:
arkui-x如何打release包
[打印本页]
作者:
润开鸿_坚果
时间:
2024-6-13 23:41
标题:
arkui-x如何打release包
[md]## arkui-x如何打release包
**第一步、首先创建项目。**
![image-20240613231438214](
https://luckly007.oss-cn-beijing ... 240613231438214.png
)
**第二步、修改.arkui-x/android/app/build.gradle文件中的配置。**
```
buildTypes {
release {
signingConfig signingConfigs.debug
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
```
**第三步、编译打包**
![image-20240613232006787](
https://luckly007.oss-cn-beijing ... 240613232006787.png
)
**如图所示,编译成功。**
![image-20240613232022869](
https://luckly007.oss-cn-beijing ... 240613232022869.png
)
[/md]
欢迎光临 OpenHarmony开发者论坛 (https://forums.openharmony.cn/)
Powered by Discuz! X3.5