当前位置:网站首页>Huawei fast game failed to call the login interface, and returned error code -1
Huawei fast game failed to call the login interface, and returned error code -1
2022-07-05 21:39:00 【Huawei Developer Forum】
Problem description
In the fast game project , Call the login interface provided by Huawei , After writing the sample code , When debugging login on mobile phone , Return error code -1. as follows :
I jsLog : gameLoginWithReal fail:"AUTH FAIL", code:-1
Official document of Huawei fast game access account service :https://developer.huawei.com/consumer/cn/doc/development/quickApp-Guides/quickgame-runtime-account-kit-0000001113458340
Problem analysis
Checked the error code document , For error code -1 The explanation is : General game interface failure return code .
No solution , So I contacted Huawei's technical support ( Can be contacted by bill of lading ), Huawei technical support reply :“ The fingerprint certificate used in the packaging fast game is wrong ”. It turns out that this error is a fingerprint certificate error ,
We went back to the interface built by packaging and found that it was like this . as follows :
There is indeed a place to fill in the keystore , Just the debugging key used in the previous packaging , No formal key is used . Then I went to the operation personnel of our company to get the official .pem Certificate file ,
Replace it in the build project interface , And click the print fingerprint certificate button on the console , Provide fingerprints to operators to AGC The official website corresponds to the game project . Wait a moment , Rebuild after packaging ,
Sure enough, the game login succeeded .
Problem solving
After writing the sample code , When debugging login on mobile phone , Return error code -1 It belongs to fingerprint error . The fingerprint filled in when building the package must be consistent with AGC Submitted in the corresponding project on the official website
Only when you are consistent can you login successfully , Problem solving .
边栏推荐
- postgres 建立连接并删除记录
- 2.2.5 basic sentences of R language drawing
- 2.2 basic grammar of R language
- Parker driver maintenance COMPAX controller maintenance cpx0200h
- 深信服X计划-网络协议基础 DNS
- Uni app Bluetooth communication
- Defect detection - Halcon surface scratch detection
- Zhang Lijun: la pénétration de l’incertitude dépend de quatre « invariants»
- leetcode:1755. Sum of subsequences closest to the target value
- [case] Application of element display and hiding -- element mask
猜你喜欢
MySQL InnoDB Architecture Principle
What should I do to prepare for the interview algorithm position during school recruitment?
2.2 basic grammar of R language
R language [data management]
"Grain mall" -- Summary and induction
MySQL deep paging optimization with tens of millions of data, and online failure is rejected!
Teach yourself to train pytorch model to Caffe (2)
Arcgis\qgis no plug-in loading (no offset) mapbox HD image map
Efficiency difference between row first and column first traversal of mat data types in opencv
leetcode:1755. Sum of subsequences closest to the target value
随机推荐
Three components of openpyxl
Access Zadig self-test environment outside the cluster based on ingress controller (best practice)
MySQL deep paging optimization with tens of millions of data, and online failure is rejected!
ESP32
PVC plastic sheets BS 476-6 determination of flame propagation properties
事项研发工作流全面优化|Erda 2.2 版本如“七”而至
leetcode:1139. The largest square bounded by 1
What should I do to prepare for the interview algorithm position during school recruitment?
怎么利用Tensorflow2进行猫狗分类识别
@Validated基础参数校验、分组参数验证和嵌套参数验证
xlrd常见操作
总结出现2xx、3xx、4xx、5xx状态码的原因
KingbaseES V8R3集群维护案例之---在线添加备库管理节点
"Grain mall" -- Summary and induction
Realize the function of verifying whether the user has completed login when browsing the page
初级软件测试必问面试题
Some common processing problems of structural equation model Amos software
Some things make feelings nowhere to put
ArcGIS栅格重采样方法介绍
[case] Application of element display and hiding -- element mask