Motors App Documentation
App PageChangelog
  • Introduction
  • Motors Application Plugin
    • Installation of the plugin
    • Motors Application Plugin Settings
    • Global Settings
    • Main Page
    • Add a Car Page
    • Inventory
    • Flutter Environment
  • Android Application Build on macOS
    • Flutter Setup for the macOS system
    • Android Studio Setup on mac
    • Android Studio Emulator on mac
    • Installing Flutter Packages on mac
    • Null Safety setup
    • Setting the Site URL on mac
    • Upload your logo
    • Adding App Icon on mac
    • Setting App Name on mac
    • Change Package name
    • Test Your App on mac
    • App Release on mac
  • Setup Environment
    • Push Notification Setup
  • Android Application Build on Windows
    • Flutter Setup for the Windows system
    • Android studio Setup on Windows
    • Android Studio Emulator on Windows
    • Installing Flutter Packages on Windows
    • Null safety setup
    • Setting the Site URL on Windows
    • Upload your logo
    • Adding App Icon on Windows
    • Change Package Name
    • Test Your App on Windows
    • App Release on Windows
  • IOS App Build
    • Step 1 – App Registration on App Store Connect
    • Step 2 – Register a Bundle ID
    • Step 3 – Prepare for app distribution
    • Step 4 – Setting up the project
    • Step 5 – Add an App Icon
  • IOS App Release
    • Step 1 – Create a build archive
    • Step 2 – Upload an app to App Store Connect
  • Extra Materials
    • Item Page
    • Changelog
      • Page 1
  • stylemixthemes
  • Themes
  • Plugins
Powered by GitBook
On this page

Was this helpful?

  1. Android Application Build on macOS

Flutter Setup for the macOS system

Flutter Installation

PreviousFlutter EnvironmentNextAndroid Studio Setup on mac

Last updated 2 years ago

Was this helpful?

First, download the Flutter here:

Please note that this manual and all the steps described are applicable to the macOS building process.

You can watch the video tutorial describing the full process of Android app building on macOS.

Or you can follow the instructions and steps described in this manual.

When you created the folder with Flutter SDK, open it in Terminal using the following command:

cd ~/development

If there is no development folder run this command first:

mkdir /development

After that, you need to run the unzip command. Make sure you specify the correct path to the downloaded Flutter archive file.

Run the command below:

unzip ~/Downloads/flutter_macos_3.3.8-stable.zip

Setting the Flutter tool path

In order to set up the Flutter tool path you should run this command:

export PATH="$PATH:pwd/flutter/bin"

Next, you need to know which shell you are using. For this run this command:

echo $SHELL

Depending on the shell run the following command:

sudo nano ~/.zshrc

or

sudo nano /.bashrc

Again, the command you will be using depends on the shell you have.

After that in the new window, you need to add a path to the flutter tool.

Use the following command:

export PATH=$PATH:~/development/flutter/bin

The next thing you need to do is to check the Flutter dependencies.

For this, run the command:

flutter doctor

This operation will help you to identify if there are any dependencies you need to install. After the results will be prepared click Agree and wait for the installation of the needed dependencies to complete the setup.

The Flutter Doctor results will be displayed as follows:

Accept Android licenses. For this, run this command:

flutter doctor --android-licenses

To accept the licenses just type “y”

After you finished all the steps, the installation of Flutter SDK is complete. You can follow to the next step of building the app.

https://flutter.dev/docs/get-started/install/macos