Après avoir mis à jour Ios nouvelle version (je pense avant que cette chose était ok), j'ai cette exception lorsque je tente de lancer la tâche Gradle « launchIosDevice »:bâtiment Exception tâche gradle launchIosDevice
java.lang.NullPointerException
at org.robovm.libimobiledevice.Callbacks.callInstproxyCallback(Callbacks.java:66)
Quelqu'un peut-il m'aider à comprendre le problème? Merci d'avance.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'org.javafxports:jfxmobile-plugin:1.3.2'
}
}
apply plugin: 'org.javafxports.jfxmobile'
repositories {
jcenter()
maven {
url 'http://nexus.gluonhq.com/nexus/content/repositories/releases/'
}
maven {
url('https://oss.sonatype.org/content/repositories/snapshots/')
}
}
mainClassName = 'it.wstech.lex.LXMainApplication'
dependencies {
compile 'com.airhacks:afterburner.mfx:1.6.2'
compile fileTree(dir: '***', include: ['*.jar'])
compile fileTree(dir: '***', include: ['*.jar'])
compile fileTree(dir: '***', include: ['*.jar'])
compile fileTree(dir: 'lib', include: ['*.jar'])
androidCompile 'org.glassfish:javax.json:1.0.4'
compile "com.gluonhq:charm:4.3.0"
}
jfxmobile {
javafxportsVersion = '8.60.8'
downConfig {
version "3.3.0-SNAPSHOT"
plugins 'display','browser','cache', 'lifecycle', 'statusbar', 'storage', 'local-notifications', 'device','connectivity','dialer','orientation','runtime-args', 'push-notifications'
}
android {
manifest = 'src/android/AndroidManifest.xml'
compileSdkVersion = 21
signingConfig {
storeFile file('***')
storePassword 'wstechsrl'
keyAlias '***'
keyPassword '***'
}
dexOptions {
javaMaxHeapSize "4g"
}
}
ios {
iosSignIdentity = '****'
iosProvisioningProfile = '****'
infoPList = file('src/ios/Default-Info.plist')
arch = 'arm64'
ipaArchs=['arm64']
forceLinkClasses = [
'com.gluonhq.**.*',
'it.wstech.**.*',
'javax.annotations.**.*',
'javax.inject.**.*',
'javax.json.**.*',
'org.glassfish.json.**.*'
]
}
}
[ 96%] Uploading /Volumes/RoboVM RAM Disk/tmp/Users/wstechsrl/Desktop/workspace_fx/strikenball/build/javafxports/tmp/ios/strikenball.app/lib/robovm-cocoatouch-2.3.0.jar...
[ 97%] Uploading /Volumes/RoboVM RAM Disk/tmp/Users/wstechsrl/Desktop/workspace_fx/strikenball/build/javafxports/tmp/ios/strikenball.app/lib/robovm-objc-2.3.0.jar...
[ 98%] Uploading /Volumes/RoboVM RAM Disk/tmp/Users/wstechsrl/Desktop/workspace_fx/strikenball/build/javafxports/tmp/ios/strikenball.app/strikenball...
[100%] Upload complete
[ 0%] Beginning installation...
[ 5%] CreatingStagingDirectory
[ 15%] ExtractingPackage
[ 20%] InspectingPackage
[ 20%] TakingInstallLock
[ 30%] PreflightingApplication
[ 30%] InstallingEmbeddedProfile
[ 40%] VerifyingApplication
[ 50%] CreatingContainer
[ 60%] InstallingApplication
[ 70%] PostflightingApplication
[ 80%] SandboxingApplication
[ 90%] GeneratingApplicationMap
java.lang.NullPointerException
at org.robovm.libimobiledevice.Callbacks.callInstproxyCallback(Callbacks.java:66)
Utilisez-vous le plugin jfxmobile? Pouvez-vous poster votre build.gradle? Lancez './gradlew --info launchIosDevice' et publiez un stacktrace plus détaillé? De plus, './gradew createIpa' fonctionne-t-il pour vous? –
Oui, j'utilise jfxmobileplugin, j'ai posté les dernières lignes de stacktrace et le build.gradle. La tâche createIpa fonctionne correctement. – Denise