`
molala:~ renzhayi$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.17.0, on Mac OS X 10.15.5 19F101, locale
zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.4)
[✓] Android Studio (version 3.6)
[!] IntelliJ IDEA Community Edition (version 2020.1.1)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code (version 1.46.1)
[✓] Connected device (1 available)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
使用的最新的amap_location_fluttify 0.13.0
IOS遇到问题
在定位的时候卡死 有时候甚至闪退 我是在市区内,测试机wifi正常 android 秒获取 如果定位出来 位置特别不准 差了3站地铁。。
final Future<Location> location = AmapLocation.fetchLocation( needAddress: false, timeout: const Duration(milliseconds: 30000), mode:LocationAccuracy.Low, );
我使用的单次定位,mode 无论是哪个都会卡,,timeout 如果不设置会闪退 时间长了可能会获取到,也可能会没反应 Flutter Log输入是flutter: fluttify-dart: AMapLocationManager@10780611456::requestLocationWithReGeocode(['withReGeocode':false])
如果在xcode 直接运行是下面错误期望行为
ios正常运行吧
flutter doctor
` molala:~ renzhayi$ flutter doctor Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, v1.17.0, on Mac OS X 10.15.5 19F101, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) [✓] Xcode - develop for iOS and macOS (Xcode 11.4) [✓] Android Studio (version 3.6) [!] IntelliJ IDEA Community Edition (version 2020.1.1) ✗ Flutter plugin not installed; this adds Flutter specific functionality. ✗ Dart plugin not installed; this adds Dart specific functionality. [✓] VS Code (version 1.46.1) [✓] Connected device (1 available)
! Doctor found issues in 1 category. `