0

我开发了一个简单的 javafx 应用程序以移植到 Android 环境中,但是我无法在TextField. 我想这是一个错误,如何解决这个问题?

构建.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)

安卓手机:

Samsung Galaxy J2
4

0 回答 0