https://uniapp.dcloud.net.cn/tutorial/app-nativeresource-android.html#%E5%BA%94%E7%94%A8%E6%B8%85%E5%8D%95%E6%96%87%E4%BB%B6-androidmanifest-xml
参考上方官方网站的说明,在uniapp项目根路径增加了AndroidManifest.xml,但是最终通过云打包(快速安心打包)后生产的apk中,AndroidManifest.xml里没有我增加的内容。
uniapp项目根路径下增加的AndroidManifest.xml内容如下:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"
package="cn.test">
<application>
<meta-data android:name="com.huawei.hms.client.appid" android:value="xxxxxxx" />
</application>
</manifest>
0 个回复