问题
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