tree: f307b5611f0dc2269324ce4e1d4697aedb8cc14b [path history] [tgz]
  1. app/
  2. buildSrc/
  3. build.gradle
  4. README.md
  5. settings.gradle
examples/hello_android/README.md

Example of building a Flutter app for Android using Gradle

This project demonstrates how to embed Flutter within an Android application and build the Android and Flutter components with Gradle.

To build this project:

  • Create a local.properties file with these entries:
    • sdk.dir=[path to the Android SDK]
    • flutter.sdk=[path to the Flutter SDK]
    • flutter.jar=[path to the flutter.jar file in your build of the Flutter engine]

Then run:

  • gradle wrapper
  • ./gradlew build