--enable-analytics: Enables anonymous analytics.

--disable-analytics: Disables anonymous analytics.

The Google Privacy Policy describes how data is handled by these services.

Android setup

Note:
  Flutter relies on a full installation of Android Studio to supply
  its Android platform dependencies. However, you can write your
  Flutter apps in a number of editors; a later step discusses that.

Install Android Studio

Download and install Android Studio.

Start Android Studio, and go through the ‘Android Studio Setup Wizard’.
This installs the latest Android SDK, Android SDK Command-line Tools,
and Android SDK Build-Tools, which are required by Flutter
when developing for Android.

Run flutter doctor to confirm that Flutter has located
your installation of Android Studio. If Flutter cannot locate it,
run flutter config --android-studio-dir=<directory> to set the
directory that Android Studio is installed to.