Authorization problem with google maps plugin for flutter

google maps flutter
ensure that the "google maps android api v2" is enabled
google maps api key
cannot enable mylocation layer as location permissions are not granted
flutter google maps not showing
google maps flutter web
integrating google maps into app
how to generate release key for google maps api in android

I'm getting Authorization failure when trying to display a map in a flutter project using the google maps plugin.

I get this error:

Authorization failure.  Please see for how 
to correctly set up the map.
E/Google Maps Android API(11104): In the Google Developer Console 
E/Google Maps Android API(11104): Ensure that the "Google Maps Android API 
v2" is enabled.
E/Google Maps Android API(11104): Ensure that the following Android Key 
E/Google Maps Android API(11104):   API Key: 
E/Google Maps Android API(11104):   Android Application (<cert_fingerprint>; 

I think I followed the instructions to the letter. It says here to ensure that Google Maps Android API v2 is enabled, but that API does not exist in the API list, I guess it was renamed in Maps SDK for Android, which I enabled.

I added the API Key and restricted it to Android apps, with the app footprint. Anyone else have had this problem?

I face same issue..

First enable Android map sdk in google

and make sure your device internet on..


import 'dart:async';

import 'package:flutter/material.dart';

import 'package:google_maps_flutter/google_maps_flutter.dart';

 class MapDemo extends StatelessWidget {
Widget build(BuildContext context) {
// TODO: implement build
return MaterialApp(
  home: MapTest(),

 class MapTest extends StatefulWidget {
State<StatefulWidget> createState() {
// TODO: implement createState
return MapState();

 class MapState extends State<MapTest> {
 Completer<GoogleMapController> _controller = Completer();

 static const LatLng _center = const LatLng(23.521563, -72.677433);

  void _onMapCreated(GoogleMapController controller) {

 Widget build(BuildContext context) {
// TODO: implement build
return Scaffold(
  appBar: AppBar(
    title: Text("Map Demo"),
  body: Container(
    height: MediaQuery.of(context).size.height,
    width: MediaQuery.of(context).size.width,
    child: GoogleMap(
      initialCameraPosition: CameraPosition(target: _center, zoom: 10.0),
      onMapCreated: _onMapCreated,

} }

Google Maps API not authenticate · Issue #25556 · flutter/flutter , Limit the use of your Android applications * Add your application ID * Add your sha1 previously generated. E/Google Maps Android API( 1644): In the Google Developer Console ( E/Google Maps Android API( 1644): Ensure that the "Google Maps Android API v2" is enabled.

You may want to check to make sure you have the correct SHA1 fingerprint authorized on the API Key you are using. Keep in mind that the debug version of the application (which will be the default when testing in Android Studio via emulator or test device) will be a different SHA1 fingerprint than the Release Version (which you would publish to the Google Play Store).

You can add multiple restrictions on a single API key to allow both the debug and release SHA1s to be authorized on the same API key.

Steps for finding the SHA1 for the release version can be found here:

google_maps_flutter demo: Authorization failure. · Issue #25021 , E/Google Maps Android API( 4635): Authorization failure. Please Flutter plugin version 30.0.1 • Dart plugin version 181.5656 • Java version  Please add the output of flutter doctor -v.. You did add the key to AndroidManifest.xml? Just to be sure, run flutter clean and try again.. This suggestion #25021 (comment) to a similar issue might be worth a try.

You simply have to go to the Google cloud console and Enable the MAP SDK API for android, make sure all the other sdk api's you use are enabled (MAP for ios, roads, places, etc), otherwise, if a call is made from your app, it will not get Authorised

google_maps_flutter demo: Authorization failure. - flutter, The instructions for using not granted E/Google Maps Android API( 1644): Authorization failure. Google recently published the official Google Maps plugin for Flutter, adding official support for Google Maps into Flutter. This article will look at how to add Google Maps into a Flutter project…

1 - Go to

2 - Imprint of the debug certificate

For Linux or macOS:

$ keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android

For Windows:

$ keytool -list -v -keystore "%USERPROFILE%\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android

Imprint of the production certificate

$ keytool -list -v -keystore your_keystore_name -alias your_alias_name

3 - Limit the use of your Android applications      * Add your application ID      * Add your sha1 previously generated

4 - Flutter clean

5 - Uninstall the application and rebuild

Google Maps for Flutter (Developers Preview), The instructions for using E/Google Maps Android API( 1644): In the Google Developer Console  We would like to show you a description here but the site won’t allow us.

Flutter Google Maps Setup, Known issues are tagged with the platform-views and/or maps labels. To use this plugin on iOS you need to opt-in for the embedded views  google_sign_in # A Flutter plugin for Google Sign In. Note: This plugin is still under development, and some APIs might not be available yet. Feedback and Pull Requests are most welcome! Android integration # To access Google Sign-In, you'll need to make sure to register your application.

Troubleshooting Authorization for Google Maps APIs for Work , There are several Flutter packages available for this task, but the setup below is tested with the location plugin. iOS. Add the permission request details to the Info. Flutter plugins. This repo is a companion repo to the main flutter repo. It contains the source code for Flutter first-party plugins (i.e., plugins developed by the core Flutter team). Check the packages directory for all plugins. Flutter plugins enable access to platform-specific APIs.

Products, The Problem. An application that lives at a URL that has not been authorized for your client ID will not be able to use the Google Maps Platform with your  Flutter plugin for Firebase Auth, enabling Android and iOS authentication using passwords, phone numbers and identity providers like Google, Facebook and Twitter. Homepage Repository (GitHub) View/report issues API reference

  • I'm facing the same issue, I put all the SHA-1 keys (debug,prod,google-signing) nothing works. were you able to solve it?
  • No. I moved to different areas of the app, and Ill get back to this at the end
  • I'm well aware of that. Tried everything, doesn't work.