flutter/examples/hello_android
2016-03-27 13:36:01 -07:00
..
app upgrade to test 0.12.13 2016-03-27 13:36:01 -07:00
buildSrc Expose the engine-src-path flag in the Gradle plugin 2016-03-23 13:33:51 -07:00
build.gradle Example that builds a Flutter Android app using Gradle 2016-03-14 13:32:21 -07:00
README.md Example that builds a Flutter Android app using Gradle 2016-03-14 13:32:21 -07:00
settings.gradle Example that builds a Flutter Android app using Gradle 2016-03-14 13:32:21 -07:00

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