android 和web都没问题 但是ios的AMap2DView初始化在屏幕之外 会出现悬浮的bug
qweqwqsqwwew opened this issue · comments
android 和web都没问题 但是ios的AMap2DView初始化在屏幕之外 会出现悬浮的bug 老哥测试一下就可以复现不知如何解决
@qweqwqsqwwew 可以描述详细一些吗?提供一下你的环境、sdk版本、问题截图或者异常信息。
手头没有真机,模拟器未发现问题。
进入时ios设备会出现悬浮的情况 ,安卓和web均正常,amap2dview在column上
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 1.25.0-9.0.pre.23, on Mac OS X 10.15.4 19E287 darwin-x64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.6)
[✓] IntelliJ IDEA Ultimate Edition (version 2020.1.1)
[✓] Connected device (3 available)
! Error: iPhone is not connected. Xcode will continue when iPhone is connected. (code -13)
! Error: lalala is busy: Processing cache files from device. Xcode will continue when lalala is finished. (code -10)
• No issues found!
@qweqwqsqwwew 好的,给我点时间排查一下。
按照你的演示,将地图Widget置于SingleChildScrollView这类滑动控件中,在iOS上的确存在这样的问题。我搜索了相关问题,目前没有好的解决方案。。。例如:flutter Issus中的 #30336 #41239 #41959 #70944等。
ok,多谢了老哥,我自己研究研究
Couldn't read file E:\flutterday\flutter2\flutter.pub-cache\git\flutter_2d_amap-323fcf8203d89a4235f923a1b53ae1e455c9afb3\android\src\main\java\com\weilu\flutter\flutter_2d_amap\Flutter2dAmapPlugin.java even
though it exists. Please verify that this file has read permission and try again.
老哥 这个问题怎么解决 Couldn't read file E:\flutterday\flutter2\flutter.pub-cache\git\flutter_2d_amap-323fcf8203d89a4235f923a1b53ae1e455c9afb3\android\src\main\java\com\weilu\flutter\flutter_2d_amap\Flutter2dAmapPlugin.java even
though it exists. Please verify that this file has read permission and try again.
Couldn't read file E:\flutterday\flutter2\flutter.pub-cache\git\flutter_2d_amap-323fcf8203d89a4235f923a1b53ae1e455c9afb3\android\src\main\java\com\weilu\flutter\flutter_2d_amap\Flutter2dAmapPlugin.java even
though it exists. Please verify that this file has read permission and try again.
@qweqwqsqwwew 我在flutter 2.0上试了一下,这个问题已经解决了,你可以验证一下。
666老哥
在ios没有问题,在安卓提示gps未开启是什么情况
那就看手机有没有开启定位开关。。。
那就看手机有没有开启定位开关。。。
手机定位肯定开着,高德这边返回的错误是key找不到,但我安卓的就是按照你的文档配置的,还是说找不到key