I downloaded the Gluon plugin for Netbeans to deploy JavaFX application to Android. It ran successfully on the desktop but when I execute the android
task, it t
I had the same problem now it's solved .Now I am able to compile and make my android apk .
So these are the steps I followed
H:\sdk\extras\android\support\multidex files
like this
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'org.javafxports:jfxmobile-plugin:1.0.0-b9'
}
}
apply plugin: 'org.javafxports.jfxmobile'
repositories {
jcenter()
}
mainClassName = 'com.fff.Fff'
jfxmobile {
android {
manifest = 'src/android/AndroidManifest.xml'
androidSdk='H:/ADT BUNDLE/sdk'
}
}
If you are working in a 32 bit PC
Set environment variable name JAVA_OPTIONS with value Xmx1024M
If you are working in a 64 bit PC
make sure you install JDK that is 64 bit and not 32 bit JDK