Huawei Map not loading when download from huawei app gallery

259 Views Asked by At

Hello we have published our app to huawei app gallery.

I have MapHelper class in my app.

In this class every methods work with which services enabled ( gms or hms )

When i run at development ( or get release apk ) it works, i can show huawei map

But when i download via huawei app gallery map is open but now rendering.

enter image description here

when i look at the logs app when downloaded from app gallery and click the map button i can show these errors

what should i do ?

1

There are 1 best solutions below

0
On

There are two things you need to check about this issue:

  1. Use the key tool to check whether the local APK signature is the same as the APK signature downloaded from the App Gallery.
  2. Before building the APK, configure the obfuscation configuration file to prevent the HMS Core SDK from being obfuscated. so you need to check whether obfuscation scripts are configured. For Details,see Docs.