Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| development:tools:flutter_development_machine:start [2021/07/22 16:43] – roy.lee | development:tools:flutter_development_machine:start [2023/12/17 14:57] (current) – [Setting up] don.lee | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Setting Up Flutter | + | ====== Setting Up Flutter |
| ===== Setting up ===== | ===== Setting up ===== | ||
| - | [[development: | + | First Set up the following |
| - | [[development: | + | * [[development: |
| + | * Git | ||
| + | * [[development: | ||
| + | * [[development: | ||
| + | * [[development: | ||
| - | [[development: | + | ===== Building the app ===== |
| - | [[development:tools:flutter_development_machine:android_studio: | + | * Get the correct branch from SmartGit (you may create a new branch from here) |
| + | * Download the corresponding Google Play upload key from [[howto:flutter:build_app_for_ios_and_android:create_upload_key:start|Android | ||
| + | * Place the .jks in a folder such as ' | ||
| + | * Create a file in '' | ||
| + | < | ||
| + | storePassword=< | ||
| + | keyPassword=< | ||
| + | keyAlias=key | ||
| + | storeFile=< | ||
| + | </ | ||
| + | * In Visual Studio Code, choose the device you will run the code and start debugging by pressing '' | ||
| - | [[development: | + | <WRAP center round important 80%> |
| + | If you fail to build to ios try right clicking on the '' | ||
| + | </ | ||
| - | ===== Building the app ===== | + | <WRAP center round important 80%> |
| + | If you are using an Apple Silicon Macbook and face build errors with CocoaPods try installing ffi with | ||
| + | < | ||
| + | sudo arch -x86_64 gem install ffi | ||
| + | </ | ||
| + | then re-install dependencies with | ||
| + | < | ||
| + | sudo arch -x86_64 gem install ffi | ||
| + | </ | ||
| + | see [[https:// | ||
| + | </ | ||
| - | * Get the correct branch from SmartGit | ||
| - | * | ||
| ===== Possible Problems and Issues ===== | ===== Possible Problems and Issues ===== | ||
| + | Have a look at the articles for Flutter at our Staff Wiki | ||
| + | |||
| + | [[staff: | ||
| + | |||
| + | [[staff:lee roy:|Lee, Roy]] | ||