[英]Can't use huawei mobile services on the new Huawei devices
I'm developing an android project.I want to integrate Huawei mobile services for Huawei devices without google play services.我正在开发一个 android 项目。我想为没有谷歌播放服务的华为设备集成华为移动服务。 in this project I have developed but when I test it for Huawei P40 in cloud debugging environment, Huawei mobile services don't work.It works when i test it on Huawei mate 10 pro.Huawei mobile services location kit not reacting at p40.
在我开发的这个项目中,但是当我在云调试环境中为华为 P40 测试它时,华为移动服务不起作用。当我在华为 mate 10 pro 上测试它时它可以工作。华为移动服务定位套件在 p40 没有反应。 How can i solve this please help me
我该如何解决这个问题请帮助我
Update:更新:
I got the following message in Logcat.
我在 Logcat 中收到以下消息。 Message is;
消息是; I/Last Location: Last location is null!
I/最后一个位置:最后一个位置为空!
Here is the HMS Core Location Kit demo on github here .这是github上的 HMS 核心定位套件演示。 Please update to the latest version:)
请更新到最新版本:)
You can perform the following operations to capture the logs:您可以执行以下操作来捕获日志:
1). 1)。 Run the following command to connect to the device
adb logcat –v time > D:\hwlocation.log
运行以下命令连接设备
adb logcat –v time > D:\hwlocation.log
2). 2)。 Reproduce the fault.
重现故障。
3).Press Ctrl+C . 3).按 Ctrl+C 。
In addition, record the device model, EMUI version, HMS Core version, integrated SDK version, and fault reproduction procedure so that technical personnel can help you quickly troubleshoot the fault.另外,记录设备model,EMUI版本,HMS Core版本,集成SDK版本,故障重现流程,以便技术人员帮助您快速排除故障。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.