Huawei map is not rendering and displays white screen returns http status code 502 [closed]

戏子无情 提交于 2020-07-09 05:24:02

问题


I've just followed the instructions to integrate map kit in my app. Everything was working great but a few hours ago the map is just displaying a white screen and is not rendering anything.

Logcat prints the following error from TileDataSource.cpp

 I/MapRender: ERROR TileDataSource.cpp:76: http status code = 502

My gradle file contains the following implementations

appGalleryImplementation 'com.huawei.agconnect:agconnect-core:1.2.0.300'
appGalleryImplementation 'com.huawei.agconnect:agconnect-auth:1.2.0.300'
appGalleryImplementation "com.huawei.hms:hwid:4.0.0.300"
appGalleryImplementation 'com.huawei.hms:location:4.0.4.300'
appGalleryImplementation 'com.huawei.hms:push:4.0.2.300'
appGalleryImplementation 'com.huawei.hms:iap:4.0.2.300'
appGalleryImplementation 'com.huawei.hms:maps:4.0.1.301'
appGalleryImplementation 'com.huawei.hms:hianalytics:5.0.0.301'
appGalleryImplementation 'com.huawei.agconnect:agconnect-crash:1.3.2.301'

and the xml for the mapview

<com.huawei.hms.maps.MapView xmlns:map="http://schemas.android.com/apk/res-auto"
    android:id="@+id/mapView"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    map:cameraZoom="18"
    map:uiCompass="true"
    map:uiZoomControls="true" />

anybody else is facing the same issue?

I attached an image of the map as evidence

来源:https://stackoverflow.com/questions/62606479/huawei-map-is-not-rendering-and-displays-white-screen-returns-http-status-code-5

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!