HMS-Core / hms-mapkit-demo

HMS Map Kit demo provides an example of intergrating HMS Map Android SDK. Personalizing how your map displays and interacts with your users tailors their experience to them
https://developer.huawei.com/consumer/en/hms/huawei-MapKit?ha_source=hms1
Apache License 2.0
115 stars 43 forks source link

Huawei Map Kit does not load maps on virtual device. #9

Closed halilozel1903 closed 3 years ago

halilozel1903 commented 3 years ago

Hello,

I started using Huawei Map Kit. When I open the application on the Huawei Virtual device, the map is blank. What should I do?

Screen Shot 2020-10-19 at 4 00 02 PM

Can you help me please?

lovehuaweimaps commented 3 years ago

Please check the log file. Check whether the map fails to be loaded due to authentication failure.

halilozel1903 commented 3 years ago

I deleted the project and uploaded it again. I followed the steps involved but got the error below.

2020-10-21 10:21:22 1917-2571/? W/AppInfoRecord: in host ower not found package:com.veripark.ykbaz

Can you help me?

lovehuaweimaps commented 3 years ago

Please take a screenshot and upload your Android log. We'll help you find out why.

halilozel1903 commented 3 years ago

I don't understand. I added SHA-256 certificate fingerprint in Android App. Why this error?

Screen Shot 2020-10-21 at 11 11 36 AM

Screen Shot 2020-10-21 at 11 09 49 AM

lovehuaweimaps commented 3 years ago

The error code is 010002, your fingerprint certificate is invalid. Refer to the error code invalidolution and try again. https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides-V5/faq-0000001050166999-V5 010002errorcode

halilozel1903 commented 3 years ago

Ok. 👍 My fault. 🤦‍♂️ I solved this problem ✅ Thanks 😊

image

lovehuaweimaps commented 3 years ago

You're welcome. Welcome to Huawei Map.

alkincakiralar1996 commented 3 years ago

how did you solve ?

halilozel1903 commented 3 years ago

I had an error in the apk signing file. I solved it. @alkincakiralar1996