Не удается установить Flutter на Mac - PullRequest
0 голосов
/ 04 июля 2019

Это единственная установка, которая не удалась, Я уже установил Flutter на 2 других компьютерах Mac без каких-либо проблем .

Это 15-дюймовый MBP с поддержкой Mojave 2018 года.

Что может помешать установке: SentinelOne, который установлен на этой машине и который я не могу удалить , поэтому мне нужно как-то обойти это.

Вот трепет доктор:

$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.5.4-hotfix.2, on Mac OS X 10.14.5 18F203, locale en-BE)
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
    ✗ Android license status unknown.
      Try re-installing or updating your Android SDK Manager.
      See https://developer.android.com/studio/#downloads or visit https://flutter.dev/setup/#android-setup for detailed instructions.
[!] iOS toolchain - develop for iOS devices (Xcode 10.2.1)
    ✗ libimobiledevice and ideviceinstaller are not installed. To install with Brew, run:
        brew update
        brew install --HEAD usbmuxd
        brew link usbmuxd
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
    ✗ ios-deploy not installed. To install:
        brew install ios-deploy
    ✗ CocoaPods not installed.
        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.dev/platform-plugins
      To install:
        brew install cocoapods
        pod setup
[!] Android Studio (version 3.4)
    ✗ Unable to find bundled Java version.
[✓] IntelliJ IDEA Ultimate Edition (version 2019.1.2)
[!] Connected device
    ! No devices available

! Doctor found issues in 4 categories.

Я запускаю обновление brew и затем:

$ brew install --HEAD usbmuxd
==> Cloning https://git.sukimashita.com/libusbmuxd.git
Updating /Users/me/Library/Caches/Homebrew/usbmuxd--git
From https://git.sukimashita.com/libusbmuxd
   60109fd..6539b02  master     -> origin/master
==> Checking out branch master
Already on 'master'
Your branch is behind 'origin/master' by 4 commits, and can be fast-forwarded.
  (use "git pull" to update your local branch)
HEAD is now at 6539b02 iproxy: Fix (newly introduced) timeout errors not being handled
==> ./autogen.sh
Last 15 lines from /Users/me/Library/Logs/Homebrew/usbmuxd/01.autogen.sh:
2019-07-04 13:22:50 +0200

./autogen.sh

./autogen.sh: line 6: libtoolize: command not found
./autogen.sh: line 8: aclocal: command not found
./autogen.sh: line 9: autoheader: command not found
./autogen.sh: line 10: automake: command not found
./autogen.sh: line 11: autoconf: command not found
./autogen.sh: line 14: ./configure: No such file or directory

Любая помощь будет принята с благодарностью.

1 Ответ

0 голосов
/ 04 июля 2019

для этого вам нужно установить brew , в первую очередь вы должны запустить эту команду, а после этого выполнить все остальные команды, как указано в результатах флаттера.

/ usr / bin / ruby ​​-e "$ (curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

скачайте java по следующей ссылке и установите его.

https://support.apple.com/kb/dl1572?locale=en_US

Android studio 3.4 теперь не поддерживается с флаттером, поэтому на данный момент вы не можете решить эту ошибку.

Более подробно вы можете посмотреть это видео.

https://www.youtube.com/watch?v=Xy-qHlaHr6c

...