-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flutter Mac Installation #13
Comments
Still getting:
Had to go searching for these two paths ...
|
Still getting
Ran:
Got:
Restarting my computer ... |
https://stackoverflow.com/questions/46423088/flutter-run-command-not-working/49727202
Eventually ... after following: https://developer.android.com/studio/debug/dev-options#enable
|
@nelsonic Have you been able to come to any conclusions regarding the installation of the flutter on the Mac? |
@miguelmartins17 as per my comments above, I eventually figured out how to install everything and add my Android device. Did you install flutter on the MacBook Air? And if you did where did you document all the steps involved? |
@nelsonic Since I've been working on putting the app on Google Play Store, I haven't installed Flutter on Mac yet. |
@miguelmartins17 I posted the solution to that yesterday (see above) |
@nelsonic I don't see a PR open for this but wanted to triple-check. Are you already putting this into a readme or shall I do it as I go? |
@iteles I'm very happy for someone |
This should be documented the "installation of Flutter on Mac" is much more complex than windows just run Android Studio and install it from there. 😆 |
@miguelmartins17 sounds like you have a perfect opportunity to learn how to use e.g:
The reason for having multiple code editors on your computer is so that you can quickly switch between them if you have multiple projects open in different programming languages. |
@nelsonic You're right, all the information is welcome the more you learn the better. |
Rather than using Visual Studio Code, I'm using Android Studio (for now because it gives more info)
Once the file is open, add the following lines:
Save the file (press the Restart your terminal/iTerm.
That "full stop" means open the current directory (whichever directory you are in) in Android Studio.
|
@nelsonic I think I've made it even with the phone connected, no more errors. |
Ha, I haven’t ever gotten a github mention for something I did on stackoverflow before, I am glad it helped |
While attempting to download/install Flutter following the official instructions:
https://flutter.dev/docs/get-started/install/macos
I also had to download:
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
![image](https://user-images.githubusercontent.com/194400/72173372-4bbac680-33cf-11ea-8eb9-32f10c5f2a8e.png)
CocoaPods not installed. >
brew install cocoapods
“Visual Studio Code” can’t be opened because Apple cannot check it for malicious software.
![image](https://user-images.githubusercontent.com/194400/72173179-e4047b80-33ce-11ea-88fa-b54a82b37c13.png)
![visual-studio-code-open-anyway](https://user-images.githubusercontent.com/194400/72206780-c8aa7680-3489-11ea-8071-eadef5a8aef9.png)
see: microsoft/vscode#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:
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:
![image](https://user-images.githubusercontent.com/194400/72174160-f67fb480-33d0-11ea-8ca1-87854f64d389.png)
![Screenshot 2020-01-10 at 17 45 29](https://user-images.githubusercontent.com/194400/72174258-2d55ca80-33d1-11ea-9340-049e724cd756.png)
Click on "Open AVD Manager" (Android Virtual Device)
You should see the following:
![image](https://user-images.githubusercontent.com/194400/72174315-5e35ff80-33d1-11ea-8889-aaebabfdcba6.png)
Select the API version: (click the download button)
![image](https://user-images.githubusercontent.com/194400/72174342-6beb8500-33d1-11ea-8aee-b262825d1b0b.png)
That will download Android Q which is another 1.1Gb
![image](https://user-images.githubusercontent.com/194400/72174380-8b82ad80-33d1-11ea-9df5-03bfbbbec0de.png)
The text was updated successfully, but these errors were encountered: