百度地图使用模拟器打开时报错
04-16 05:23:54.916 11229-11269/com.pistol.markerinfos E/AndroidRuntime: FATAL EXCEPTION: GLThread 224
Process: com.xxx.xxx, PID: 11229
java.lang.IllegalArgumentException: No config chosen
at android.opengl.GLSurfaceView$BaseConfigChooser.chooseConfig(GLSurfaceView.java:888)
at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:1042)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1412)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1259)
替换MapView
<com.baidu.mapapi.map.MapView android:id="@+id/bmapView" android:layout_width="match_parent" android:layout_height="match_parent" android:clickable="true" />为TexttrueMapView
<com.baidu.mapapi.map.TextureMapView android:id="@+id/bmapView" android:layout_width="match_parent" android:layout_height="match_parent" android:clickable="true" />后模拟器运行demo成功。