Flutter Mac Installation
- Dominant language
- JavaScript
- Stars
- 98
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
While attempting to download/install Flutter following the official instructions:
https://flutter.dev/docs/get-started/install/macos
I _also_ had to download:
+ https://code.visualstudio.com/Download [83mb]
+ https://developer.android.com/studio [769mb]
+ https://developer.apple.com/xcode [11Gb!!!]
```
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.15.2 19C57, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.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 3.5)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[!] VS Code (version 1.41.1)
✗ Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[!] Connected device
! No devices available
! Doctor found issues in 4 categories.
```
+ [x] https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

+ [x] CocoaPods not installed. > `brew install cocoapods`
“Visual Studio Code” can’t be opened because Apple cannot check it for malicious software.

see: https://github.com/microsoft/vscode/issues/74782 (_open Settings > Security ... click on "Open Anyway"_)

[!] Android Studio (version 3.5)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
https://stackoverflow.com/questions/51860845/flutter-plugin-not-installed-error-when-running-flutter-doctor
After installing everything we have the following:
```
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.15.2 19C57, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.41.1)
[!] Connected device
! No devices available
! Doctor found issues in 1 category.
```
https://stackoverflow.com/questions/49045393/flutter-run-no-connected-devices
https://flutter.dev/docs/get-started/install/macos#set-up-the-android-emulator
Open Android Studio and locate the drop-down that says no devices:

Click on "Open AVD Manager" (_Android Virtual Device_)

You should see the following:

Select the API version: (click the download button)

That will download Android Q which is _another_ 1.1Gb

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.