我开发了一个简单的javafx应用程序,可以在Android环境中移植,但是我无法在TextField
中输入任何字符。我想这是一个错误,如何解决这个错误?
的build.gradle:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'org.javafxports:jfxmobile-plugin:1.0.7'
}
}
apply plugin: 'org.javafxports.jfxmobile'
repositories {
jcenter()
}
mainClassName = 'com.ras.Main'
jfxmobile {
android {
manifest = 'lib/AndroidManifest.xml'
}
ios {
infoPList = file('src/ios/Default-Info.plist')
}
}
jfxmobile {
android {
packagingOptions {
exclude 'build.properties'
}
}
}
dependencies {
compile fileTree(dir: 'lib', include: '*.jar')
}
JDK:
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Android手机:
Samsung Galaxy J2