我已经把谷歌地图很好地集成在我的颤振项目。几天来,我一直在安卓模拟器、安卓设备和iOS模拟器上测试它。一切看起来都很好。然后,我主要集中在iOS模拟器的测试上。但昨晚,当我在Android设备和模拟器上运行这个项目时,地图打开了,但没有反应。我犯了一个错误:
**E/flutter (18971): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: MissingPluginException(No implementation found for method map#waitForMap on channel
3.
我正在用谷歌flutter开发安卓和ios应用程序。当我向pubspec.yaml添加一个像shared_preferences这样的新依赖项,然后在终端中执行flutter run时,我得到了这个错误:
What went wrong: A problem occurred configuring project ':shared_preferences'.
You have not accepted the license agreements of the following SDK components: [Android SDK Platform