Im just trying to get google maps displayed on my emulator and i also used google_maps_flutter package but TargetPlatform.windows is not yet supported by the maps plugin is displayed instead of the map, Im not receiving any error in the console.
I have added the meta-data entry containing the API key to AndroidManifest.xml
file in android/app/src/main
CodePudding user response:
Either you're trying to run your project on Windows platform (meaning you did not choose an Android Emulator or phone in the run device menu, see example below)
or, if your screenshot is from a Android device, there's something messed up with your project configuration. You can try running flutter create .
in the terminal to recreate your project, or you can create a new one from the scratch (watch out for which platform you activate, see below) and then import the code.
Screenshots are from Android Studio.