0

Nothing wrong in my work I have checked everything literally in my android studio nothing needs to be installed all are installed.the api key is right.

I have added all the permissions and still I get a blank screen like this photo bellow

screen

my logcat

Log 1... screen

Log2 ... screen

UPDATE

and those are the android studio settings with the gradle

settings settings

gradle gradle

2 Answers2

0

1) Have you added your debug/production SHA-1 key to Google API console?

2) Google Maps Android API: Google Maps Android API v2 only supports devices with OpenGL ES 2.0 and above suggests your device is not supported.

terencey
  • 3,282
  • 4
  • 32
  • 40
  • yes ! .. once i just click new google map activity i copy the link that's given then i create the api key and it automaticaly copy my SHA-1 key with the package name there ,, so all i have to do is to copy the key that it gave me to my .xml where it says "KEY_HERE " .. also i have updated all the tools and play services plus updating the emulator itself .. and i added all the permissions and the play-services too ! nothing wong i'm sure ! .. yes please explain what should i do after it not being supported ? – zak johnson Jan 15 '18 at 07:23
  • I have added more pics of my gradle and my settings u can take a look – zak johnson Jan 15 '18 at 08:45
0

Hi there might be 2 scenerio

1) If you are running on a real device then you missed to add feature required for OpenGL ES 2.0.

In this case just add the following code in your project's AndroidManifest.xml file before application tag:

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

2) If you are running on emulator then you need to use

Emulator with an AVD that runs the Google APIs platform based on Android 4.2.2 or higher.

ishu
  • 123
  • 8
  • unfortunatly it didn't work .. it doesn't install on my real device and doesn't show map on my AVD .. i have added more pics of my android settings options and my gradle .. u can take a look please if u would like to – zak johnson Jan 15 '18 at 08:40
  • Try to add classpath 'com.google.gms:google-services:3.0.0' in your project gradle and you are using build tool of 26 so use implementation instead of compile – ishu Jan 15 '18 at 09:16