0

我使用三星 Galaxy S7 进行测试。

我不明白为什么我在手机上编译并启动我的胶子应用程序,它崩溃了。我尝试了 SingleViewProject,但我遇到了同样的问题。

上周,我没有这个问题。

我的成绩单

    buildscript {
repositories {
    jcenter()
}
dependencies {
    classpath 'org.javafxports:jfxmobile-plugin:1.0.8'
}
}

apply plugin: 'org.javafxports.jfxmobile'

repositories {
jcenter()
maven {
    url 'http://nexus.gluonhq.com/nexus/content/repositories/releases'
}
}

mainClassName = 'com.gluonapplication.GluonApplication'
dependencies {
compile 'com.gluonhq:charm:2.1.1'
androidRuntime 'com.gluonhq:charm-android:2.1.1'
iosRuntime 'com.gluonhq:charm-ios:2.1.1'
desktopRuntime 'com.gluonhq:charm-desktop:2.1.1'
}

jfxmobile {
     android {
        manifest = 'src/android/AndroidManifest.xml'
        androidSdk = "/Users/Alexandre/Library/Android/sdk"
}
ios {
    infoPList = file('src/ios/Default-Info.plist')
    forceLinkClasses = [
            'com.gluonhq.**.*',
            'io.datafx.**.*',
            'javax.annotations.**.*',
            'javax.inject.**.*',
            'javax.json.**.*',
            'org.glassfish.json.**.*'
    ]
}
}

堆栈跟踪

    Process: com.gluonapplication, PID: 20944
    java.lang.RuntimeException: Did not create correct launcher.
    ...
    Caused by: java.lang.RuntimeException: Could not find    /javafx.platform.properties on classpath.

你有什么想法可以帮助我吗?

4

0 回答 0