-
Notifications
You must be signed in to change notification settings - Fork 4
Dev environment setup
Harsimran Singh Maan edited this page Jan 18, 2021
·
9 revisions
- Linux Ubuntu 20.04/ Mac Os Big Sur(required for ios app but not needed for android app)
- Android SDK 30 ( Usually installed with flutter setup)
Install flutter and switch to the dev channel.
flutter channel dev
flutter upgrade
You can use the above commands with flutter channel stable
to switch back to stable channel if you need it for something else.
Visual Studio Code
- Install Flutter dev
- Setup the IDE with flutter and dart extensions
- Setup an android simulator
make run
You can also use the visual studio code to run the app.
Setup SSH on Windows.
- Generate and configure SSH key from here
- Sometimes the bin path of git is not added to PATH. Please ensure following is added to Windows PATH
C:\Program Files\Git\cmd
(Help on how to configure PATH? Please follow this link)
Running Visual Studio on Windows
- Once above configurations are done, Run Visual Studio Code.
- Open New Terminal from Terminal menu.
- In the command line window, type in
git
.It should resolve and not show any errors. If it generates an error, either git is not properly installed or windows PATH has not been updated correctly. Please try the configuration steps again. - Go to your Github Repo and copy the SSH path from the Code area under SSH menu. More info on cloning a github repo is here
- At this point, you can open the repo in Visual Studio.