gpt4 book ai didi

android - 处理异常 : Process timed out: when xode build Done Flutter app

转载 作者:行者123 更新时间:2023-12-04 09:54:52 28 4
gpt4 key购买 nike

Xcode 代码构建后 flutter run

ProcessException: Process timed out:
Command: /usr/bin/env xcrun xcodebuild -configuration Debug -quiet -workspace
Runner.xcworkspace -scheme Runner
BUILD_DIR=/Users/Huzeifah/Documents/flutter_development/test_app/build/ios
-sdk iphonesimulator -arch x86_64
SCRIPT_OUTPUT_STREAM_FILE=/var/folders/w8/nf0h0vbj01v4qz3wbk07fvnr0000gn/T/flu
tter_build_log_pipe.O5hXp2/pipe_to_stdout FLUTTER_SUPPRESS_ANALYTICS=true
COMPILER_INDEX_STORE_ENABLE=NO -showBuildSettings


运行时的所有版本信息 flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.17.1, on Mac OS X 10.15.3 19D76, locale en-PK)
[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from:
https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK
components.
(or visit https://flutter.dev/docs/get-started/install/macos#android-setup
for detailed instructions).
If the Android SDK has been installed to a custom location, set
ANDROID_SDK_ROOT to that location.
You may also want to add it to your PATH environment variable.


[✓] Xcode - develop for iOS and macOS (Xcode 11.4.1)
[!] Android Studio (not installed)
[✓] VS Code (version 1.45.1)

[✓] Connected device (1 available)

! Doctor found issues in 2 categories.

当我运行 flutter 。 Xocde 构建完成,然后给出错误 ProceesTimw。然后我尝试我可以尝试的每件事。我安装了 Xcode 11.4.1 的新 vwesion 和 flutter 新版本 1.17 stable enter image description here

最佳答案

对我来说,我遇到了同样的问题,并通过将我的项目移出 iCloud 正在备份的文件夹来解决它。我搬到了一个 wifi 速度较慢的地方,所以我的项目一直挂着。现在,它的加载速度比以前更快。
信用在这里(iOS simulator not working or taking so much time in Flutter)

关于android - 处理异常 : Process timed out: when xode build Done Flutter app,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61939360/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com