我使用三星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.**.*'
]
}
}
stacktrace
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.
你有想法帮助我吗?