当前位置:网站首页>【FAQ】華為帳號服務報錯 907135701的常見原因總結和解决方法
【FAQ】華為帳號服務報錯 907135701的常見原因總結和解决方法
2022-07-04 14:10:00 【華為移動服務】
很多開發者在接入華為帳號服務時,經常會出現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 最新技術資訊~
边栏推荐
- 德明利深交所上市:市值31亿 为李虎与田华夫妻档
- Service Mesh的基本模式
- Secretary of Homeland Security of the United States: domestic violent extremism is one of the biggest terrorist threats facing the United States at present
- 安装Mysql
- CVPR 2022 | greatly reduce the manual annotation required for zero sample learning, and propose category semantic embedding rich in visual information (source code download)
- 易周金融 | Q1保险行业活跃人数8688.67万人 19家支付机构牌照被注销
- 华昊中天冲刺科创板:年亏2.8亿拟募资15亿 贝达药业是股东
- Getting started with microservices
- Worried about "cutting off gas", Germany is revising the energy security law
- WS2818M是CPC8封装,是三通道LED驱动控制专用电路外置IC全彩双信号5V32灯可编程led灯带户外工程
猜你喜欢

2022 practice questions and mock exams for the main principals of hazardous chemical business units

Redis - how to install redis and configuration (how to quickly install redis on ubuntu18.04 and centos7.6 Linux systems)

逆向调试入门-PE结构-资源表07/07

MySQL 45 lecture - learn the actual combat notes of MySQL in Geek time 45 lecture - 06 | global lock and table lock_ Why are there so many obstacles in adding a field to the table

Apple 5g chip research and development failure: continue to rely on Qualcomm, but also worry about being prosecuted?

MySQL8版本免安装步骤教程

【R语言数据科学】:交叉验证再回首

【Matlab】conv、filter、conv2、filter2和imfilter卷积函数总结

小程序直播 + 电商,想做新零售电商就用它吧!
![30: Chapter 3: develop Passport Service: 13: develop [change / improve user information, interface]; (use * * * Bo class to accept parameters, and use parameter verification)](/img/89/aabf79ca02bf587e93885cadd5f98a.png)
30: Chapter 3: develop Passport Service: 13: develop [change / improve user information, interface]; (use * * * Bo class to accept parameters, and use parameter verification)
随机推荐
Distributed base theory
【Antd踩坑】Antd Form 配合Input.Group时出现Form.Item所占据的高度不对
吃透Chisel语言.03.写给Verilog转Chisel的开发者(没有Verilog基础也可以看看)
CVPR 2022 | 大幅减少零样本学习所需的人工标注,提出富含视觉信息的类别语义嵌入(源代码下载)...
【Matlab】conv、filter、conv2、filter2和imfilter卷积函数总结
Gorm 读写分离(转)
Detailed explanation of Fisher information quantity detection countermeasure sample code
mac redis安装与使用,连接远程服务器 redis
担心“断气” 德国正修改《能源安全法》
gorm 之数据插入(转)
美国土安全部长:国内暴力极端主义是目前美面临的最大恐怖主义威胁之一
Apple 5g chip research and development failure: continue to rely on Qualcomm, but also worry about being prosecuted?
China Post technology rushes to the scientific innovation board: the annual revenue is 2.058 billion, and the postal group is the major shareholder
Mask wearing detection based on yolov1
2022年起重机械指挥考试模拟100题模拟考试平台操作
博士申请 | 西湖大学学习与推理系统实验室招收博后/博士/研究实习等
Test evaluation of software testing
软件测试之测试评估
Can mortgage with housing exclude compulsory execution
Automatic filling of database public fields