This sample uses the Android gradle plugin.

The directory contains the jar file of the Ensemble8 application, which demonstrates many of the javafx features,
along with the required scripts to create an Android package based on
this application.

1. Build the JavaFX Application.
The Ensemble8.jar can be build from the source files of the javafx android sdk, if you execute the gradle apps target.
For your convenience a prebuild jar file is provided in the ensemble directory.

2. Create an Android project based on the JavaFX Application.
The only things you have to change is the location of the Android SDK
and the JavaFX Dalvik SDK. Both are defined in local.properties

You might also want to change the Android SDK version and the version of your Android build tools in the build.gradle file
    compileSdkVersion 17
    buildToolsVersion "21.1.2"

The Android debug APK can be created as follows:
./gradlew assembleDebug

or you can use:
./gradlew installDebug

to install the apk directly on your connected device.

