flutter/examples/hello_android
Devon Carew 8f80050fc3 Update FlutterPlugin.groovy
Update the groovy build example.
2016-03-18 21:44:48 -07:00
..
app Example that builds a Flutter Android app using Gradle 2016-03-14 13:32:21 -07:00
buildSrc Update FlutterPlugin.groovy 2016-03-18 21:44:48 -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