Android Studio Flutter热重载和热重启动按钮已禁用,并停留在真实iOS设备上的“安装和启动”中

时间:2020-04-08 07:06:06

标签: android-studio flutter

我还是Flutter和编程的新手。请客气。谢谢。

这从来没有发生过。我的意思是热重装和热重启始终有效。但是这次发生了一些奇怪的事情: 该应用程序可在真实的iOS设备上加载,并且可以在该设备上完美运行。但是Android Studio控制台显示“安装和启动”没有尽头。打印语句不显示。禁用热重装和热重启按钮,以及顶部的绿色播放按钮。当我按下“停止”按钮(红色方形按钮)时,控制台会显示其已停止,但应用程序仍在设备上运行。

我的设备是运行iOS 13.3.1的iPhone 7 Plus

对于iOS模拟器,热重装和热重启工作正常。我不知道这是否相关,但是滑块不会在模拟器中移动,而是在真实的iOS设备中移动。

这是我扑扑的医生:

[✓] Flutter (Channel dev, v1.13.7, on Mac OS X 10.15.3 19D76, locale en-US)
    • Flutter version 1.13.7 at /Applications/flutter
    • Framework revision a3bbdfb23a (3 months ago), 2020-01-03 16:19:11 -0500
    • Engine revision eb139936eb
    • Dart version 2.8.0 (build 2.8.0-dev.0.0 2f57602411)


[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Applications/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Applications/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C504
    • CocoaPods version 1.9.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 44.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] VS Code (version 1.42.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.8.0

[✓] Connected device (4 available)
    • iPhone        • b3ebbe93864b12b2d78acd5efecf25da9ac75d28 • ios            • iOS 13.3.1
    • iPhone 11 Pro Max • AAFD9B5B-5E10-40AB-A9D8-75D9DAD5EB3D     • ios            • com.apple.CoreSimulator.SimRuntime.iOS-13-2 (simulator)
    • Chrome            • chrome                                   • web-javascript • Google Chrome 80.0.3987.163
    • Web Server        • web-server                               • web-javascript • Flutter Tools

• No issues found!

非常感谢您!!!任何帮助表示赞赏!

0 个答案:

没有答案