tree: 0afde16c4d8b5822c7861af8fb4900d5b1f8a59d
  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