MapBox Android application crashes after update to SDK 4.1.0 on emulator

后端 未结 4 1639

After the update to Android MapBox SDK 4.1.0/4.1.1 my app crashes on Android emulator with:

E/mbgl: [Shader]: Vertex shader fill failed to compile: precision         


        
4条回答
  •  孤独总比滥情好
    2021-01-16 12:36

    I'll assume you mean Android Mapbox SDK 4.1.0/4.1.1 and not DropBox ;)

    First, make sure you are always using the latest version of the SDK, 4.1.1 fixes an important bug that can potentially break your app. This sounds like an issue with the emulator possibly not having OpenGL setup properly. I'm not familiar with Linux Mint but you will need to make sure your graphics driver is installed and up to date. It will also need to be able to support OpenGL 2.0 or higher.

    We don't guarantee Mapbox will be able to work on an emulator but we do strive to ensure Mapbox works on as many physical devices as possible. If an emulator must be used, we recommend either the built in Android Studio one or Genymotion.

提交回复
热议问题