Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How solve Google Play Store is missing warning to show google map in Flutter

W/GooglePlayServicesUtil( 4892): Google Play Store is missing.

This warning is preventing google map to show in genymotion device.

and this is the output of map in android 9 in genymotion: enter image description here

How can I solve this problem? All required steps to enable google map sdk for android and ios and getting ApiKey have been done and added. This is map screen's codes.

import 'package:flutter/material.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';
class MapScreen extends StatefulWidget {
  @override
  _MapScreenState createState() => _MapScreenState();
}

class _MapScreenState extends State<MapScreen> {
  static final CameraPosition _kGooglePlex = CameraPosition(
    target: LatLng(37.42796133580664, -122.085749655962),
    zoom: 14.4746,
  );

  @override
  Widget build(BuildContext context) {
    return new Scaffold(
      appBar: AppBar(title:Text("map") ,),
        body:Container(
          width: 400,
          height: 400,
          child:  GoogleMap(
            mapType: MapType.hybrid,
            initialCameraPosition: _kGooglePlex,
            onMapCreated: (GoogleMapController controller) {
//        _controller.complete(controller);
            },
          ),
        ));
  }
}
like image 422
Zahra Avatar asked Dec 10 '25 16:12

Zahra


1 Answers

Google core needs google play installed on your virtual device to get ads maps and core functionality that include google play SDK.

you just need to create an emulator with google play as shown in the image below one with the google play icon.

enter image description here

like image 145
Osama Buzdar Avatar answered Dec 13 '25 15:12

Osama Buzdar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!