当前位置:网站首页>华为游戏初始化init失败,返回错误码907135000
华为游戏初始化init失败,返回错误码907135000
2022-07-01 18:39:00 【华为开发者论坛】
问题描述
用android studio 集成华为游戏服务SDK后,测试游戏时初始化init失败,报错statusCode 907135000,我在官方开发指导文档网站上搜索该错误码:

该错误码表示传入的参数错误。
官方错误码文档链接:
https://developer.huawei.com/consumer/cn/doc/development/HMSCore-Guides/commonerror-0000001059816656
问题解决
我联系了华为技术支持(https://developer.huawei.com/consumer/cn/support/feedback可工单咨询),对方告诉我:
- 如果使用Android Studio方式集成HMS SDK的游戏服务,出现此异常,要检查agconnect-services.json文件中的appId是否正确。agconnect-services.json文件的下载与配置,参考此文档:https://developer.huawei.com/consumer/cn/doc/development/HMSCore-Guides/integrate-as-sdk-0000001050435953
- 如果是用eclipse方式接入的,出现此异常,可以检查AndroidManifest文件中appId配置是否正确,按照这个格式配置,注意不要有空格。
<meta-data
android:name="com.huawei.hms.client.appid"
<!-- value的值“xxx”用实际申请的应用ID替换,来源于应用详情。-->
android:value="appid=xxx">
</meta-data>
或者参考https://developer.huawei.com/consumer/cn/doc/development/HMSCore-Guides/integrate-eclipse-sdk-0000001050309122去添加当前应用的AppGallery Connect配置文件
我是Android Studio方式集成的,直接跑的华为官方提供的demo,也没放agconnect-services.json文件,导致报错了,于是我重新从AGC后台下载了该文件,并放在工程根目录下后,重新打包测试,初始化成功,问题解决。
如果你们也是直接跑demo,或者直接复制其他工程的代码使用的,可以参考下我这个例子自行检查。
边栏推荐
- 解决方案:可以ping别人,但是别人不能ping我
- 隐私沙盒终于要来了
- Create your own NFT collections and publish a Web3 application to show them (Introduction)
- Memo - about C # generating barcode for goods
- ES6数组方法find()、findIndex()的总结「建议收藏」
- 2、《创建您自己的NFT集合并发布一个Web3应用程序来展示它们》启动并运行您的本地环境
- 12 data dimensioning processing methods
- How does factor analysis calculate weights?
- How to change guns for 2D characters
- Lumiprobe biomolecular quantification - qudye Protein Quantification Kit
猜你喜欢

About enterprise middle office planning and it architecture microservice transformation

Three.js学习-相机Camera的基本操作(了解向)

AI 训练速度突破摩尔定律;宋舒然团队获得RSS 2022最佳论文奖

Must see, time series analysis

宏观视角看抖音全生态

Halcon image calibration enables subsequent image processing to become the same as the template image

解决方案:可以ping别人,但是别人不能ping我

6款红黄黑榜摄像头评测:谁最安全?谁画质好?从此让你不再踩雷

为什么独立站卖家都开始做社交媒体营销?原来客户转化率能提高这么多!

Go Technology Daily (2022-02-14) - go language slice interview real questions 8 consecutive questions
随机推荐
Leetcode-160 intersecting linked list
Go Technology Daily (2022-02-14) - go language slice interview real questions 8 consecutive questions
【快应用】Win7系统使用华为IDE无法运行和调试项目
Li Kou daily question - Day 32 -589 N × Preorder traversal of tree
毕业季 | 华为专家亲授面试秘诀:如何拿到大厂高薪offer?
字节跳动数据平台技术揭秘:基于 ClickHouse 的复杂查询实现与优化
AI training speed breaks Moore's law; Song shuran's team won the RSS 2022 Best Paper Award
华为云专家详解GaussDB(for MySQL)新特性
GameFramework食用指南
R语言caTools包进行数据划分、scale函数进行数据缩放、class包的knn函数构建K近邻分类器、table函数计算混淆矩阵
Excel之VBA简单宏编程
Create your own NFT collections and publish a Web3 application to show them (Introduction)
Evaluation of 6 red, yellow and black list cameras: who is the safest? Who has good picture quality? From now on, let you no longer step on thunder
AI 训练速度突破摩尔定律;宋舒然团队获得RSS 2022最佳论文奖
Li Kou daily question - Day 32 -1232 Dotted line
1、《创建您自己的NFT集合并发布一个Web3应用程序来展示它们》什么是NFT
R语言使用dplyr包的transmute函数计算dataframe数据中的指定数据列的移动窗口均值、使用ggplot2包可视化移动均值与原始数据的折线图
如何在自有APP内实现小程序实现连麦直播
Basic knowledge and commands of disk
R语言使用epiDisplay包的dotplot函数通过点图的形式可视化不同区间数据点的频率、使用pch参数自定义指定点图数据点的形状