Flutter Google Maps, Trying to create an already created platform view, view id: 0

前端 未结 5 2356
萌比男神i
萌比男神i 2021-02-18 22:15

For first time google maps flutter ,loads perfect but when hot restart it , it goes to platform exception

google_maps_flutter: ^0.5.21+15

Github [google_maps_fl

5条回答
  •  后悔当初
    2021-02-18 22:53

    To solve this issue I did the following via the terminal:

    1- Changed the branch to Master branch:

    flutter channel master

    2- Upgraded Flutter

    flutter upgrade

    3- Cleaned the code:

    flutter clean

提交回复
热议问题