当前位置:网站首页>[HMS core] [FAQ] [account kit] typical problem set 2
[HMS core] [FAQ] [account kit] typical problem set 2
2022-07-22 14:47:00 【Huawei Developer Forum】
1. Unable to open Huawei account service
【 Problem description 】
Huawei account login function is required , But in Under my project API management page , Huawei account function cannot be enabled , Why is that ?
【 Solution 】
Currently in AGC New created on HarmonyOS application , The account service is enabled by default , There is no need to open it again . Please be there. AGC View directly in the project “OAuth 2.0 client ID”
2. account kit After integration, click “ Huawei account login ” A black screen appears
【 Problem description 】
After integrating Huawei account services , Clicking Huawei account login will cause the problem of black screen
Specific information :
- Hongmeng application ,FA Integrate accounts in atomized Services kit,
- Currently in ide Remote real machine debugging , Model P40/Pro、Mate x2 5G Have tried to appear black screen
- Hongmeng system is 2.0.0.205/209,3.0.0
【 Solution 】
1、DevEco Studio Simulator environment in ( Here's the picture ) It is consistent with the principle of remote real machine , There are restrictions on screen capture , Pull up the authorization login page and a black screen will appear
2、 It can be used in the Huawei application market of testing machines ( The position shown in the figure below ) Click login Huawei account to test ( Whether there will be a black screen )
3、 It is recommended to use physical phones or AGC- quality - Cloud debugging remote real machine environment ( Choose Xiangyang ) To test
3. An error is reported when accessing Huawei account service according to the document
【 Problem description 】
An error is reported when accessing Huawei account service according to the document . Is it because of importing a .har package ? Where can I get this bag ??
Document address : Document center
Download the latest version of :npm install @hmscore/hms-js-base, It shows that the installation was not successful , Still report an error and can't find hms
to build.gradle With a compilation dependency ,MyApplication The compilation problem of can be solved , however app.js The procedure is still wrong , Tips hmsjsb Can't find
【 Solution 】
1、 First, confirm that it has been completed HMS Core SDK The download , Such as @hmscore/hms-js-base And hmscore/hms-jsb-account Whether the following success prompt appears .
2、 If the feedback reports an error , Yes, fingerprint verification failed , Please check :
1. Whether in AGC To configure “SHA256 Certificate fingerprint ”
2. Configured “SHA256 Certificate fingerprint ” Is it consistent with the fingerprint in the above screenshot
The signature configuration method is detailed in the following documents
3. If inconsistent, modify , Please clear Huawei mobile service cache
About debug The certificate is automatically generated , Debugging through simulator ,.p12 The password is encrypted and I don't know , Can't generate “SHA256 Certificate fingerprint ” The situation of ,
Refer to the following instructions , Generate secret key library file , Replace automatically generated
4. The application was rejected , The feedback is that Huawei login and Huawei payment cannot be activated
【 Problem description 】
This problem has been prompted by the access detection , As a result, the interrogators have been unable to afford Huawei Services ( Sign in 、 payment ) Pictured :
Follow the tips provided by this link to access , Still prompt this error, and then we follow the prompt provided by this link to access , Or prompt this error
【 Solution 】
Configure the confusion script according to the account service , Reconfigure , eliminate HMSCore cache .
More relevant learning materials : https://developer.huawei.com/consumer/cn/forum/topic/0202799751850840348?fid=18?ha_source=zzh |
边栏推荐
- 2022熔化焊接与热切割操作证考试题库模拟考试平台操作
- 【HMS core】【FAQ】【Account Kit】典型问题集2
- [try to hack] SYN Flood and CC attack
- Os09 AUTOSAR OS event mechanism and example analysis
- HCIA-R&S自用笔记(14)RIP协议
- UDS诊断服务的会话层和寻址方式
- Programming example of STM32 state machine -- fully automatic washing machine (Part 1)
- [wechat applet] choosebao - the Savior of choice difficulties
- Install Wamp with Tencent ECs, which shows that MySQL cannot be connected
- What software is IDM downloader? The latest version number of v6.41 win download tool
猜你喜欢
UDS02-根据标识符读取数据服务【ServiceID = 0x22】
征信衍生、信用卡数据场景如何做好分析,这一种时序特征方法得学学|金融信用分析师必学内容
Some experience of code specification
LabVIEW cluster cannot contain input and output controls at the same time
在线问题反馈模块实战(十):实现图片预览功能
【HarmonyOS】【FAQ】鸿蒙问题合集4
检查SPF记录 宽泛的IP范围会破坏电子邮件的安全性
What software is IDM downloader? The latest version number of v6.41 win download tool
6、学习MySQL 删除数据库
【HMS core】【FAQ】Account Kit、MDM能力、push Kit典型问题合集6
随机推荐
【微信小程序】选择宝——选择困难症的拯救者
Usage and cases of regexp of MySQL statement
【Harmony OS】【ARK UI】【Demo】加载动画实现
Os7 resource deadlock
UDS诊断服务的会话层和寻址方式
KVM Virtualization - create - bridge - hard disk - snapshot
Troubleshooting - find the loop through lldp information (take H3C S5100 as an example)
Solve the inexplicable restart problem of win10
PyTorch模型训练:设置随机种子,保证每次训练的结果都一样
idm下载器是什么软件?最新V6.41版本号Win下载工具
MySql集群之多实例数据库搭建(二)
LabVIEW簇中不能同时包含输入输出控件
[server data recovery] data recovery case of a Huawei server raid6
[multithreading] there are several ways to create a thread pool
2022 low voltage electrician examination simulated 100 questions and simulated examination
Uds03 write data service according to identifier [serviceid = 0x2e]
6、学习MySQL 删除数据库
Internet Download Manager old brand downloader best computer download tool
[cicadaplayer] the problem that the release cannot debug at breakpoints
【攻防世界WEB】难度二星6分入门题(上):webshell、command_execution、xff_referer、php_rce、Web_php_include、NewsCenter