tree: ac779d5cc789704bee3cd04ff0c99cc609d452d2 [path history] [tgz]
  1. lib/
  2. .gitignore
  3. flutter.yaml
  4. FLUTTER_VERSION
  5. Makefile
  6. pubspec.yaml
  7. README.md
example/discovery/README.md

Discovery

A simple Flutter app that uses v23 discovery.

Prerequisites

Flutter

A clone of https://github.com/flutter/flutter/ at the commit # specified in FLUTTER_VERSION file must be available in a directory called flutter at the same level as $JIRI_ROOT directory.

Mojo

Mojo profile for Android target must be installed. You can run jiri v23-profile install --target=arm-android mojo to install it.

Dart

Mojo profile must be installed. You can run jiri v23-profile install dart to install it.

Android Setup

Currently Flutter requires an Android device running the Lollipop (or newer) version of the Android operating system. adb tool from Android SDK needs to be installed. Please follow instructions on setting up your android device here

Running Discovery Demo

Connect your Android device via USB and ensure Android debugging is enabled, then execute:

make run

If you have multiple Android devices connected, you can set the DEVICE_NUM enviroment variable to choose the device