【发布时间】:2021-04-21 02:19:42
【问题描述】:
-
整合定位套件版本“com.huawei.hms:location:5.0.5.300”后,定位为空。请在附件中找到用于测试的 apk。您可以从中获取日志。
-
在 Manifest 中,我使用了下面的。
-
在App gradle中,实现'com.huawei.hms:location:5.0.5.300'
-
在Project gradle中,classpath 'com.huawei.agconnect:agcp:1.4.2.300'
日志:
LBSLog_HwLBSService.PG.c: [E/HwLocation/LBSLog_HwLBSService.PG.c 16710:1474 Method.java:-2] res 位置为空:{"errorCode":"701200010","message":"所有策略定位失败。"} LBSLog_HwLBSService.PG.g: [I/HwLocation/LBSLog_HwLBSService.PG.g 16710:1474 Method.java:-2] 状态码:512,错误码:512
【问题讨论】:
标签: huawei-mobile-services huawei-developers huawei-location-kit