大佬教程收集整理的这篇文章主要介绍了因HMS Core(APK)更新中提供者名称错误,我的联合作战应用/游戏被拒绝怎么办?,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
当我提交集成了 HMS Core 功能的游戏进行审核时,由于 HMS Core (APK) 更新期间提供者名称不正确,该游戏被拒绝。
我使用的是 AndroID studio,在官方文档中找不到针对此问题的任何解决方案。
您无需为 4.0 及更高版本的 HMS Core (APK) 更新手动配置。
游戏打包后在manifest文件中自动配置提供者名称。检查配置是否存在,需要对游戏包进行反编译,检查manifest文件中application元素下是否存在以下配置:
<provider
android:name="com.huawei.hms.update.provider.updateProvider"
<!-- replace xxx.xxx.xxx with the actual game package name. -->
android:authorities="xxx.xxx.xxx.hms.update.provider"
android:exported="false"
android:grantUriPermissions="true" >
</provider>
<provider
android:name="com.huawei.updatesdk.fileprovider.updateSdkFileProvider"
<!-- replace xxx.xxx.xxx with the actual game package name. -->
android:authorities="xxx.xxx.xxx.updateSdk.fileProvider"
android:exported="false"
android:grantUriPermissions="true">
</provider>
以上是大佬教程为你收集整理的因HMS Core(APK)更新中提供者名称错误,我的联合作战应用/游戏被拒绝怎么办?全部内容,希望文章能够帮你解决因HMS Core(APK)更新中提供者名称错误,我的联合作战应用/游戏被拒绝怎么办?所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。