flutter/examples/hello_android
Jason Simmons 379c563b62 Merge pull request #3034 from jason-simmons/gradle_flx_refresh
Support "flutter refresh" in the Gradle-based sample project
2016-04-01 12:39:04 -07:00
..
app Merge pull request #3034 from jason-simmons/gradle_flx_refresh 2016-04-01 12:39:04 -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