Google Maps Android API v2 only supports devices with OpenGL ES 2.0 and higher

I am trying to run a Google Map sample on an emulator. Now I have an error:

Google Maps Android API v2 only supports devices with OpenGL ES 2.0 and higher

How can I solve this problem?

+6
source share
4 answers

I had a problem with the emulator. I fixed it by editing my emulator in AVD Manager , in the Emulator Settings , by checking the Use host GPU box.

+6
source

Google Maps API v2 has an error. See here: http://code.google.com/p/gmaps-api-issues/issues/detail?id=5440

As Tony pointed out in the comments above, a workaround may occur if you can get and replace the corresponding apk files on the device. Or you can just wait ...;)

+2
source

You need to add the feature required for OpenGL ES 2.0. for V2 maps To work with Google Maps, simply add the following code to your AndroidManifest.xml project file before the application tag:

<uses-feature android:glEsVersion="0x00020000" android:required="true" /> 

Let it help you :)

+1
source

Make sure you are using an emulator based on the Google API API version 4.2.2 or higher.

Following the instructions for setting up the Google Play Services SDK :

To test the application when using the Google Play services SDK, you must use either:

  • A compatible Android device running Android 2.2 or later and includes the Google Play Store.
  • Android emulator with AVD that runs the Google API platform based on Android 4.2.2 or later.
0
source

Source: https://habr.com/ru/post/948371/


All Articles