当前位置:网站首页>华为游戏初始化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,或者直接复制其他工程的代码使用的,可以参考下我这个例子自行检查。
边栏推荐
- Must see, time series analysis
- R语言使用dplyr包的transmute函数计算dataframe数据中的指定数据列的移动窗口均值、使用ggplot2包可视化移动均值与原始数据的折线图
- R language uses the aggregate function of epidisplay package to divide numerical variables into different subsets based on factor variables, and calculate the summary statistics of each subset
- 【AGC】如何解决事件分析数据本地和AGC面板中显示不一致的问题?
- R language uses the transmute function of dplyr package to calculate the moving window mean value of the specified data column in dataframe data, and uses ggplot2 package to visualize the line graph b
- Implementation of converting PCM file to WAV
- Navicat Premium 15 永久破解和2021版本最新IDEA破解(亲测有效)
- Case study on comprehensive competitiveness of principal components
- The R language cartools package divides the data, the scale function scales the data, the KNN function of the class package constructs the k-nearest neighbor classifier, and the table function calcula
- Leetcode-141 circular linked list
猜你喜欢
Lumiprobe Lumizol RNA 提取试剂解决方案
Weekly recommended short videos: be alert to the confusion between "phenomena" and "problems"
Livedata postvalue will "lose" data
Principal component calculation weight
How does factor analysis calculate weights?
Using OpenSSL encryption to rebound shell traffic
Leetcode-160 intersecting linked list
About enterprise middle office planning and it architecture microservice transformation
实例讲解将Graph Explorer搬上JupyterLab
Mise en place d'une plate - forme générale de surveillance et d'alarme, quelles sont les conceptions nécessaires dans l'architecture?
随机推荐
Leetcode-160相交链表
app发版后的缓存问题
2. Create your own NFT collections and publish a Web3 application to show them start and run your local environment
每周推荐短视频:警惕“现象”与“问题”相互混淆
ES6数组去重的三个简单办法
Vidéos courtes recommandées chaque semaine: méfiez - vous de la confusion entre « phénomène » et « problème »
The R language cartools package divides the data, the scale function scales the data, the KNN function of the class package constructs the k-nearest neighbor classifier, and the table function calcula
Excel之VBA简单宏编程
The R language uses the tablestack function of epidisplay package to make statistical summary tables (descriptive statistics based on the grouping of target variables, hypothesis testing, etc.). If th
golang 错误处理
Golang error handling
Reading notes series "modern methods of C language programming" -- Chapter 2
Lumiprobe非荧光炔烃丨EU(5-乙炔基尿苷)
Leetcode-128 最长连续序列
字节跳动数据平台技术揭秘:基于 ClickHouse 的复杂查询实现与优化
Go语言自学系列 | go语言数据类型
R语言caTools包进行数据划分、scale函数进行数据缩放、class包的knn函数构建K近邻分类器、table函数计算混淆矩阵
数据库基础:select基本查询语句
R language uses the aggregate function of epidisplay package to divide numerical variables into different subsets based on factor variables, and calculate the summary statistics of each subset
R语言ggplot2可视化:可视化折线图、使用labs函数为折线图添加自定义的Y轴标签信息(customize y axis label)