当前位置:网站首页>【FAQ】华为帐号服务报错 907135701的常见原因总结和解决方法
【FAQ】华为帐号服务报错 907135701的常见原因总结和解决方法
2022-07-05 19:03:00 【HMS Core】
很多开发者在接入华为帐号服务时,经常会出现907135701的报错。根据官网文档说明,错误码907135701表示:
这个错误码在安卓和鸿蒙上都会出现,导致该报错的原因有很多,开发者可以按照下面几点进行排查。
Android工程
原因一:开发者未在开发者联盟上注册应用产品信息,并生成应用对应的APPID;
解决方法:在开发应用前,需要在AppGallery Connect中配置相关信息。
在开发应用前需要在华为开发者联盟网站上注册成为开发者并完成实名认证,具体方法请参见帐号注册认证。参见创建项目和创建应用,完成应用的创建。
原因二:证书指纹未配置或者配置不正确
解决方法:重点检查下AGC网页上配置的指纹和APK打包时的指纹是否一致。
证书指纹配置方法可参考开发者联盟官方文档
原因三:agconnect-services.json配置不正确或agconnect-services.json文件没有放在合适的位置。
解决方法:请确保agconnect-services.json 文件中的APPID与AGC平台上的APPID保持一致;下载的agconnect-services.json文件要拷贝到App目录下。
还需要注意的是,如果没有特殊需要,请不要打开“不包含密钥”的开关。
详情可以参考联盟官方文档,重新配置。
HarmonyOS(Java)工程
原因一:agc文件位置不正确,
解决方法:需要将“agconnect-services.json”文件拷贝到“entry”应用级根目录下。
原因二:证书指纹没有配置或者配置不正确。
解决方法:证书指纹配置方法可以查看配置应用签名信息。通过查看应用的签名和联盟上面配置的是否一致可以确认证书指纹是否配置正确。参考链接
原因三:config.json文件属性配置不正确
解决方法:在HarmonyOS应用“entry/src/main/config.json”的module节点增加如下属性配置。其中“name”的值不要去修改。
"metaData": { "customizeData": [ { "name": "com.huawei.hms.client.appid", // 这里需要把OAuth Client ID替换为OAuth 2.0客户端ID "value": "OAuth Client ID" // } ]}
原因四:插件配置不正确
解决方法:需要添加agcp插件配置。请根据实际情况选择。
方式一:在文件头部声明下一行添加如下配置。
apply plugin: 'com.huawei.agconnect'
方式二:在在plugins中添加如下配置。
plugins { id 'com.android.application' // 添加如下配置 id 'com.huawei.agconnect'}
了解更多详情>>
访问华为开发者联盟官网
获取开发指导文档
华为移动服务开源仓库地址:GitHub、Gitee
关注我们,第一时间了解 HMS Core 最新技术资讯~
边栏推荐
- 国内低代码开发平台靠谱的都有哪些?
- MySql中的longtext字段的返回问题及解决
- Optimization of middle alignment of loading style of device player in easycvr electronic map
- You can have both fish and bear's paw! Sky wing cloud elastic bare metal is attractive!
- 2022 the latest big company Android interview real problem analysis, Android development will be able to technology
- Is it safe for China Galaxy Securities to open an account? Securities account opening
- Shell编程基础(第8篇:分支语句-case in)
- 从零实现深度学习框架——LSTM从理论到实战【实战】
- UDF implementation of Dameng database
- golang通过指针for...range实现切片中元素的值的更改
猜你喜欢
Mysql如何对json数据进行查询及修改
Django uses mysqlclient service to connect and write to the database
Mysql database indexing tutorial (super detailed)
关于 Notion-Like 工具的反思和畅想
数学分析_笔记_第9章:曲线积分与曲面积分
自动化测试的好处
ELK分布式日志分析系统部署(华为云)
微波雷达感应模块技术,实时智能检测人体存在,静止微小动静感知
android中常见的面试题,2022金九银十Android大厂面试题来袭
图扑软件数字孪生 | 基于 BIM 技术的可视化管理系统
随机推荐
Benefits of automated testing
100million single men and women supported an IPO with a valuation of 13billion
How to quickly advance automated testing? Listen to the personal feelings of the three bat test engineers
Low code practice of xtransfer, a cross-border payment platform: how to integrate with other medium-sized platforms is the core
Startup and shutdown of CDB instances
EMQX 5.0 正式发布:单集群支持 1 亿 MQTT 连接
Vagrant2.2.6 supports virtualbox6.1
XML基础知识概念
潘多拉 IOT 开发板学习(HAL 库)—— 实验8 定时器中断实验(学习笔记)
vagrant2.2.6支持virtualbox6.1版本
PHP利用ueditor实现上传图片添加水印
Oracle fault handling: ora-10873:file * needs to be either taken out of backup or media recovered
Postman核心功能解析 —— 参数化和测试报告
Go语言 | 01 WSL+VSCode环境搭建避坑指南
14、用户、组和权限(14)
毫米波雷达人体感应器,智能感知静止存在,人体存在检测应用
数学分析_笔记_第9章:曲线积分与曲面积分
flume系列之:拦截器过滤数据
Golang through pointer for Range implements the change of the value of the element in the slice
2022 the latest big company Android interview real problem analysis, Android development will be able to technology