LoginSignup
2
1

More than 5 years have passed since last update.

Android EmulatorでMapboxのマップが表示できない

Posted at

エミュレータでMapboxを使用しているActivityを起動したところ、以下のようなエラーをEvent Logに吐き続け、マップが表示できない状態でハマりました。

9:39    Emulator: android/android-emugl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glUniform1i:3282 error 0x502

私の環境ではエミュレーターの右のドットメニュー -> Settings -> Advanced タブ -> OpenGL ES renderer をSwiftShaderに変更して、エミュレーターを再起動することで無事に表示できるようになりました。

もしかしたらHAXMを最新にするのも必要かも。

参考
https://github.com/mapbox/mapbox-gl-native/issues/11266#issuecomment-368724115

2
1
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1