Ensure that the Google Maps Android API v2
is enabled. If you are getting this error when you try to implement Google Maps into your Android mobile application, so from error it is clear that you did not enable google map api for android.
To enable it:
- Login google developer console
- Select Library option from left side panel.
- Now you can see all API list and go to Google Maps APIs and select Google Maps Android API
- Now you can see option to enable/disable API. Enable it.