URI 的目标不存在:"package:meta/meta.dart"



我使用这里的flutter插件来执行dehello_map_app示例.我遵循https://developer.here.com/documentation/flutter-sdk-navigate/4.8.1.0/dev_guide/topics/quick-start.html

的说明to I didflutter pub get,重新启动Android工作室,但我有错误的插件。

Android Studio Dart analysis报告错误

您可以直接从这个链接导入hello_map示例吗- https://github.com/heremaps/here-sdk-examples/tree/master/examples/latest/explore/flutter

将HERE SDK for Flutter插件解压缩到plugins文件夹中,该文件夹可以在示例应用项目中找到。将文件夹重命名为'here_sdk': hello_map/plugins/here_sdk将HERE SDK凭据设置为hello_map/android/app/src/main/AndroidManifest.xmlhello_map/ios/跑步/Info.plist

请注意以下内容:您的IDE应该使用-2.2.2颤振Dart版本2.13.3较新的版本也可以工作,但不能保证工作。还支持Flutter 2.0.6版和Dart 2.12.0版。建议使用与Flutter捆绑的Dart版本。

最新更新