Завершено с ошибкой: задача Gradle assembleDebug не удалась с кодом выхода 127, когда я запускаю флаттер в первый разIOS

Программируем под IOS
Ответить
Anonymous
 Завершено с ошибкой: задача Gradle assembleDebug не удалась с кодом выхода 127, когда я запускаю флаттер в первый раз

Сообщение Anonymous »

У меня возникла проблема с флаттером. Как только я запускаю flutter, он показывает следующую ошибку в визуальном коде: любое решение этой проблемы. Я запускаю Flutter Doctor, не знаю, кроется ли проблема в деталях.
Using hardware rendering with device sdk gphone x86. If you notice graphics artifacts, consider enabling
software rendering with "--enable-software-rendering".
Launching lib/main.dart on sdk gphone x86 in debug mode...
**env: bash\r: No such file or directory**
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done 2.9s
*Exception: Gradle task assembleDebug failed with exit code 127*```

Just in case you need the Flutter Doctor here is it:

```Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.22.4, on macOS 11.0.1 20B50 darwin-x64, locale en-GB)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✗] Xcode - develop for iOS and macOS
✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
Download at: https://developer.apple.com/xcode/download/
Or install Xcode via the App Store.
Once installed, run:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch
✗ CocoaPods not installed.
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your
plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To install:
sudo gem install cocoapods
[✓] Android Studio (version 4.0)
[!] IntelliJ IDEA Ultimate Edition (version 2019.1)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code (version 1.54.1)
[✓] Connected device (1 available)

! Doctor found issues in 2 categories.```


Подробнее здесь: https://stackoverflow.com/questions/677 ... e-127-when
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «IOS»