Cirilla Documentations

  1. Home
  2. Docs
  3. Cirilla Documentations
  4. General app configurations
  5. Setup development environment

Setup development environment

Cirilla is a Flutter app, it requires Flutter development environment installed before you can run and configure your app. Please follow Flutter official documentation to install Flutter development environment via the below link:

Install Flutter: https://flutter.dev/docs/get-started/install

After Flutter development environment is installed successfully run the below command to confirm:

flutter doctor -v

After the installation of Flutter is complete your computer should as below:

[✓] Flutter (Channel stable, 3.3.2, on macOS 12.3.1 21E258 darwin-x64, locale en-VN)
    • Flutter version 3.3.2 on channel stable at /Users/ngocdt/flutter_sdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision e3c29ec00c (8 days ago), 2022-09-14 08:46:55 -0500
    • Engine revision a4ff2c53d8
    • Dart version 2.18.1
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/ngocdt/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/ngocdt/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13F17a
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.69.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.44.0

[✓] Connected device (4 available)
    • LM V500N (mobile)  • LMV500Ncf6c6e42                      • android-arm64  • Android 12 (API 31)
    • iPhone 13 (mobile) • 5CB1126D-0A06-4786-835A-BD42AA00EFC0 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-15-5 (simulator)
    • macOS (desktop)    • macos                                • darwin-x64     • macOS 12.3.1 21E258 darwin-x64
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 105.0.5195.125

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

To install Android Studio follow this link from official Flutter documentation: https://flutter.dev/docs/get-started/editor?tab=androidstudio

Agree to Android Licenses

Before you can use Flutter, you must agree to the licenses of the Android SDK platform. This step should be done after you have installed the tools listed above.

  1. Make sure that you have a version of Java 8 installed and that your JAVA_HOME environment variable is set to the JDK’s folder.Android Studio versions 2.2 and higher come with a JDK, so this should already be done.
  2. Open an elevated console window and run the following command to begin signing licenses.content_copy flutter doctor --android-licenses
  3. Review the terms of each license carefully before agreeing to them.
  4. Once you are done agreeing with licenses, run flutter doctor again to confirm that you are ready to use Flutter.
Was this article helpful to you? Yes 1 No 2

How can we help?