当前位置:网站首页>【HMS core】【FAQ】push kit, WisePlay DRM, Location Kit, Health Kit, 3D Modeling Kit, SignPal Kit Typical Questions Collection 4
【HMS core】【FAQ】push kit, WisePlay DRM, Location Kit, Health Kit, 3D Modeling Kit, SignPal Kit Typical Questions Collection 4
2022-07-30 15:54:00 【Huawei Developer Forum】
1、【HMS core】【推送服务】【问题描述】
C# 服务端示例代码,获取token 异常如何解决(获取access token出现400 “Bad Request”)?
【解决方案】
a、参考链接-客户端模式(Client Credentials)
https://developer.huawei.com/consumer/cn/doc/development/HMSCore-Guides/open-platform-oauth-0000001053629189#section12493191334711,查看配置的uriWhether the address and fields are correct.
b、according to the parameters you configure
grant_type=client_credentials&client_secret=3aaa0d5f91590f9fc990271cc2147237902eefefcb6aa45a4b58324c325b990c&client_id=103432179,建议使用postman先进行验证,谢谢.
2、【HMS core】【数字版权服务】【问题描述】
Digital Rights Services are acquiringLicense出现1043错误?
【解决方案】
方法一:
1403Indicates a message signature validation error,It can be checked according to the hints in the documentation:
方法二:
在getLicense接口中的payloadFields need to be fetched on the sideLicense的请求消息
可以参考DemoConstruct an end-side request for validation:
https://developer.huawei.com/consumer/cn/doc/development/Media-Examples/android-sample-code-0000001051057323
3、【HMS core】【定位服务】【问题描述】
in location services(HarmonyOS)集成SDK第6步 在“abilities”模块中声明AGC provider,provider有何作用?If the configuration is missing,会有什么影响?
【解决方案】
This step is Hongmeng integration agc sdk 的通用步骤
https://developer.huawei.com/consumer/cn/doc/development/AppGallery-connect-Guides/agc-get-started-harmonyos-0000001184684961#section1963129135219
缺少该配置 会导致agcA related capability initialization error is reported
4、【HMS core】【运动健康服务】【问题描述】
How to get health data,Obtain the device corresponding to the measured datamac地址(Such as Huawei WatchMac地址)
【解决方案】
可以参考如下链接(参考getDeviceInfo 接口中 DeviceInfo类):
5、【HMS core】【推送服务】【问题描述】
How to operate when the validity period of Huawei push receipt expires?
【解决方案】
If the certificate of the configured message receipt address is about to expire,It is recommended to click on the receipt directly“修改”按钮进行HTTPSCertificate reconfiguration.
If the prompt is in use,无法配置,建议“New receipt”,Configure the original receipt address and the new oneHTTPS证书,Select New Receipt,Then delete the old one.
6、【HMS core】【定位服务】【问题描述】
集成定位服务,出现10808报错
【解决方案】
方法一:
1.检查AGCWhether the location service switch under the background item is turned on
2.将检查sha256的值是否有变动,(For non-Huawei mobile phones, it is recommended to be the official versionsha256value first).If there is any change, please change it lateragc重新下载agconnect-services.json替换之前的json文件.
3.Support returning city information, etc,However, if some city information is not available, it will not be returned.
You can perform native reverse geocoding or call the reverse geocoding capability according to the returned latitude and longitude information.
If the application is an overseas project, the geocoding capability of our location service can also be used.
方法二:
If there is an authentication problem,You can try it out by following the steps linked below
7、【HMS core】【3D建模服务】【问题描述】
在3DModeling service,How motion capture output data is used,jointShift,代表什么意思,Can the skeleton quadruple be used directly?
【解决方案】
1.Motion capture is available3DKeypoint locations and quaternions,A common driving method is to exploit3D坐标+IK算法.Here we get the quaternion,It can also be driven by twisting the character bones directly according to the quaternion.
2.jointShiftrepresents the displacement of the root node,positionBoth are coordinates relative to the root node,3D position + jointShiftIt is the coordinates of each joint in the world coordinate system.The head is facing because the coordinate system isx朝右,y朝下,z朝里.
For details, please refer to the user guide of the website:
- Quaternions can be used directly if the bone definitions are consistent,Inconsistent skeleton definitions are in the engineretargetcan be driven later.
8、【HMS core】【手语服务】【问题描述】
Run the sign language service normallydemo,sendAfter the stickman did not get the corresponding animation,如何解决?
【解决方案】
1、Delete the red interface:.enableRisKDetect(false).
2、Delete and re-run and try to clickSEND
欲了解更多更全技术文章,欢迎访问https://developer.huawei.com/consumer/cn/forum/?ha_source=zzh
边栏推荐
猜你喜欢
FME realizes the method of converting CAD with attribute to SHP data
路遇又一个流量风口,民宿长期向好的逻辑选对了吗
Why is there no data reported when the application is connected to Huawei Analytics in the application debugging mode?
Delayed message queue
481-82 (105, 24, 82, 34, 153),
php如何截取字符串的前几位
谷歌工程师『代码补全』工具;『Transformers NLP』随书代码;FastAPI开发模板;PyTorch模型加速工具;前沿论文 | ShowMeAI资讯日报
围绕用户思维,木鸟与途家如何实现乡村民宿下的用户运营
[Cloud native] Grayscale release, blue-green release, rolling release, grayscale release explanation
武汉星起航:海外仓基础建设成为跨境电商企业的一大出海利器
随机推荐
涨姿势了!原来这才是多线程正确实现方式
Recent learning defragmentation (24)
华为「天才少年」计划招募的博士们,迎来首秀!
481-82 (105, 24, 82, 34, 153),
影像信息提取DEM
数据库 - 创建数据库、表、函数等
FME读写cass数据的方案及操作流程
Introduction to golang image processing library image
yarn安装详细教程说明、升级教程、修改yarn的全局和缓存目录、yarn基本命令
哨兵
TiUP 术语及核心概念
Load Base Split usage documentation
Manage components using TiUP commands
The Prospects of the Metaverse and the Four Tracks
科研中一些常用软件清单
ECCV2022 | FPN错位对齐,实现高效半监督目标检测 (PseCo)
L2-007 家庭房产(vector、set、map的使用)
谷歌工程师『代码补全』工具;『Transformers NLP』随书代码;FastAPI开发模板;PyTorch模型加速工具;前沿论文 | ShowMeAI资讯日报
TiUP FAQ
【HMS core】【FAQ】push kit、AR Engine、广告服务、扫描服务典型问题合集2