I found lots of questions regarding this - and I am almost ashamed to ask it myself.
But no matter how hard I try, I simple do not get the Maps API running
Even I was facing the same issue for days. I simply uninstalled the app from settings, reinstalled it and magically it worked.
I had got same issue. After checking 20th time the steps from ddewaele's answer, turning on the Maps V2 android in Google's API console, I have restarted my phone, waited ~15s for data to download and all works like a charm. Uninstalling application was not enough to get it working. Just leaving info for other map using devs on the edge.
i have same problem i spent two weeks to get a solution at last i got it. just remove key from res/values/google_maps_api.c and repalace it by new key follow below steps you will get a new key.
1> Find SHA1 by Using that command in command prompt:
keytool -list -v -keystore "%USERPROFILE%\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android
2> Get Package name from android manifest and use finger print of SHA1 for create an new api key
3> copy created key and past it in res/values/google_maps_api.xml and also past in android manifest
<string name="google_maps_key" templateMergeStrategy="preserve" translatable="false">Paste Here New Api</string>
</resources>
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="Paste Key Here" />
I was having the same problem , then i found out that i had made a simple mistake please verify whether you have turned on "Google Maps Android API v2" in services catagory of google api console . I had turned on the wrong one it never worked for me , but now it works, hope this helps. https://code.google.com/apis/console
I am also having the same issue and know I kinda know what causes the problem ( not the solution to it though -yet- )
Try to run your app of other phone than your HTC One. Because I have the issue with my HTC One but when I run it on my S3, it runs perfectly.
Try and let me know please
EDIT
I solved it. But not sure what was the exact solution but here what I did as steps: 1- I displayed the developers options in the phone settings use the 7 times clicks in 4.2 OS 2- Allowed Mock Location 3- Selected my app in the "select debug app" 4- uninstalled my app 5- re-installed it 6- run it and waited for 30 seconds then the maps showed
Hope this helps
I know it is an old thread but it was edited few months ago, and i just run into the same problem. Since the cause of my version of the problem was a bit different i'll add it here. I had checked that all the previously cited conditions where true but it was still giving the same error.
After some hours of randomly trying stuff i finally found out that the xml string translation manager of Android Studio had created a new string with the same identifier of the google api key (which is by default stored in a different xml file from the other strings). This new string resource was indeed empty and conficlting with the true key. It was sufficient to delete it to solve the problem.