当前位置:网站首页>【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 最新技術資訊~
边栏推荐
- Understand chisel language thoroughly 09. Chisel project construction, operation and testing (I) -- build and run chisel project with SBT
- Unity Shader学习(三)试着绘制一个圆
- Gorm 读写分离(转)
- China Post technology rushes to the scientific innovation board: the annual revenue is 2.058 billion, and the postal group is the major shareholder
- Getting started with microservices
- CVPR 2022 | 大幅减少零样本学习所需的人工标注,提出富含视觉信息的类别语义嵌入(源代码下载)...
- Unity shader learning (3) try to draw a circle
- find命令报错: paths must precede expression(转)
- 392. 判断子序列
- [R language data science]: cross validation and looking back
猜你喜欢
Animation and transition effects
Qt如何实现打包,实现EXE分享
MySQL version 8 installation Free Tutorial
Unity Shader学习(三)试着绘制一个圆
Applet live + e-commerce, if you want to be a new retail e-commerce, use it!
Interviewer: what is the internal implementation of hash data type in redis?
苹果5G芯片研发失败:继续依赖高通,还要担心被起诉?
Test evaluation of software testing
ASP. Net core introduction I
博士申请 | 西湖大学学习与推理系统实验室招收博后/博士/研究实习等
随机推荐
Understand chisel language thoroughly 03. Write to the developer of Verilog to chisel (you can also see it without Verilog Foundation)
Unittest中的TestSuite和TestRunner
DGraph: 大规模动态图数据集
[antd] how to set antd in form There is input in item Get input when gourp Value of each input of gourp
Haproxy high availability solution
Distributed base theory
Test evaluation of software testing
Unittest框架之断言
Source code compilation and installation of MySQL
30: Chapter 3: develop Passport Service: 13: develop [change / improve user information, interface]; (use * * * Bo class to accept parameters, and use parameter verification)
FS7867S是一款应用于数字系统供电电源电压监控的电压检测芯片
Product identification of intelligent retail cabinet based on paddlex
分布式BASE理论
动画与过渡效果
Apple 5g chip research and development failure: continue to rely on Qualcomm, but also worry about being prosecuted?
Getting started with microservices
WS2811 M是三通道LED驱动控制专用电路彩灯带方案开发
JVM 内存布局详解,图文并茂,写得太好了!
Worried about "cutting off gas", Germany is revising the energy security law
Understand chisel language thoroughly 08. Chisel Foundation (V) -- wire, REG and IO, and how to understand chisel generation hardware