图一是在原生中的配置,
我配置的打包报错
Appid: UNIEF92ED4
Error code = -5300
Error message:
Failed to decode uts plugin's configuration file in '/uni_modules/u-IPush/utssdk/app-android/config.json'
图一是在原生中的配置,
我配置的打包报错
Appid: UNIEF92ED4
Error code = -5300
Error message:
Failed to decode uts plugin's configuration file in '/uni_modules/u-IPush/utssdk/app-android/config.json'
此错误是config.json文件中数据格式不正确导致的。
云端打包时正确配置config.json会自动生成build.gradle文件,暂时未提供直接配置build.gradle文件的方法。
你有什么具体需求?我们需根据需求情况来决定如何开放。
回复 DawnJ: 不建议在uts插件中使用manifestPlaceholders,如果确实需要,可以在项目下配置,参考这里:https://uniapp.dcloud.net.cn/tutorial/app-nativeresource-android.html#manifestplaceholders
2024-11-05 12:25