MapView map not rendered in Android emulator


#1

Im trying to run the example listed in https://docs.expo.io/versions/latest/sdk/map-view in an android emulator inside expo.

Running that exact code the map isn’t rendered, instead only a grey background and a google logo in the bottom left corner is shown. It shows the exact same behavior as in https://github.com/react-community/react-native-maps/issues/942#issuecomment-379565914. As a possible cause only the api key is mentioned, which cant be the reason obviously, because it should be handled by expo. Interestingly enough the same project does run perfectly fine on a real device using the expo app.

As suggested earlier in that github issue I have set the graphic option to ‘Hardware - GLES 2.0’ inside my AVD’s settings, still no luck

I would very much appreciate your help on getting MapView to display properly on the Android emulator.


#2

Hi there,
We use emulators for the device preview in Snack, and everything appears to be working fine.
https://snack.expo.io/rkeaXkdfX

I wonder if maybe there is a network issue preventing the content from being fetched?


closed #3

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.