android-build with androiddeployqt fails to 'notify project evaluation listener'



  • Hello,
    with whatever qml project I use (even the simple ones from the examples) I always get the error below when trying to make an apk for my android device. I can reproduce it on the command line with the following command:

    "/usr/local/qt/5.9.1/android_armv7/bin/androiddeployqt" --input /home/kena/git/tip/qt/build-TipApp-Android_Qt_5_9_1-Release/android-libTipApp.so-deployment-settings.json --output /home/kena/git/tip/qt/build-TipApp-Android_Qt_5_9_1-Release/android-build --deployment bundled --android-platform android-25 --jdk /usr/java/jdk-9 --verbose --gradle --debug
    

    I'm running ubuntu 16.04 LTS, Qt Creator 4.4.0, Qt 5.9.1, Gradle 2.3.3, android ndk r10e, java jdk 9, android sdk 25.2.3.

    Does that ring a bell to anyone?
    Thank you!

    ...
    Creating configuration testReleaseCompile
    Creating configuration testReleaseApk
    Creating configuration testReleaseProvided
    Creating configuration testReleaseWearApp
    Creating configuration testReleaseAnnotationProcessor
    Creating configuration testReleaseJackPlugin
    Parsing the SDK, no caching allowed
    
    
    BUILD FAILED
    
    Total time: 8.292 secs
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    A problem occurred configuring root project 'android-build'.
    > Failed to notify project evaluation listener.
       > javax/xml/bind/annotation/XmlSchema
    
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.
    Stopped 0 worker daemon(s).
    Building the android package failed!
    

Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.