应用程序的屏幕通常不会像这样正常地缩小,在应用程序的顶部和底部都有一个巨大的黑框。这种情况并不常见,但是在过去的几周中已经发生了4次,这对我们的用户非常讨厌。
这是非常随机的,但是似乎有时是当用户切换屏幕并发出http / firebase数据库请求时。
并附加所有 记录以下带有反引号的行之间的输出。如果有 异常,请查看错误消息是否包含足够的信息 解释如何解决该问题。 ->
Flutter分析除了一些未使用的导入外没有任何问题,但是类名是敏感的,因此不会发布。
Flutter Doctor -v输出:
[✓] Flutter (Channel beta, v0.6.0, on Mac OS X 10.13.4 17E199, locale en-US)
• Flutter version 0.6.0 at /Users/me/flutter
• Framework revision 9299c02cf7 (6 months ago), 2018-08-16 00:35:12 +0200
• Engine revision e3687f70c7
• Dart version 2.1.0-dev.0.0.flutter-be6309690f
[!] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/me/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[!] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.4.1, Build version 9F2000
• ios-deploy 1.9.2
! CocoaPods out of date (1.5.0 is recommended).
CocoaPods is used to retrieve the iOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without resolving iOS dependencies with CocoaPods, plugins will not work on iOS.
For more info, see https://flutter.io/platform-plugins
To upgrade:
brew upgrade cocoapods
pod setup
[✓] Android Studio (version 3.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 29.1.1
• Dart plugin version 181.5656
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
[!] IntelliJ IDEA Community Edition (version 2016.2.4)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• For information about installing plugins, see
https://flutter.io/intellij-setup/#installing-the-plugins
✗ This install is older than the minimum recommended version of 2017.1.0.
[!] VS Code (version 1.30.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected devices (1 available)
• E6830 • 611896418 • android-arm64 • Android 6.0.1 (API 23)
! Doctor found issues in 4 categories.