Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-23088

Cannot build Android applications on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • Qt Creator 4.11.0-beta1
    • Android Support
    • Android, Windows

    Description

      See the attached image for Qt and QtC versions installed.

      Trying to build Android applications with QtC 4.11.0-beta1 on Windows, the build fails with

       > Task :compileDebugAidl FAILED
      
      
      
      aidl.exe E 10-14 13:35:22  1624  3932 io_delegate.cpp:50] Failed to
       
      GetFullPathName(C:\Users\QT\RTA\qt5\Examples\Qt-5.14.0\widgets\widgets\build-wiggly-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_14_0_for_Android-Debug\android-build\build\generated\aidl_source_output_dir\debug\compileDebugAidl\out\org\kde\necessitas\ministro\IMinistro.java)
      
      
      
      
      
      
      
      
      
      
      
      FAILURE: Build failed with an exception.
      
      
      
      
      
      
      
      * What went wrong:
      
      
      
      Execution failed for task ':compileDebugAidl'.
      
      
      
      > 1 exception was raised by workers:
      
      
      
        java.lang.RuntimeException: java.lang.RuntimeException: 
      java.io.IOException: com.android.ide.common.process.ProcessException: 
      Error while executing process 
      C:\Users\QT\AppData\Local\Android\Sdk\build-tools\28.0.3\aidl.exe with 
      arguments 
      {-pC:\Users\QT\AppData\Local\Android\Sdk\platforms\android-29\framework.aidl
      -oC:\Users\QT\RTA\qt5\Examples\Qt-5.14.0\widgets\widgets\build-wiggly-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_14_0_for_Android-Debug\android-build\build\generated\aidl_source_output_dir\debug\compileDebugAidl\out
       
      -IC:\Users\QT\RTA\qt5\Examples\Qt-5.14.0\widgets\widgets\build-wiggly-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_14_0_for_Android-Debug\android-build\src
      -IC:\Users\QT\RTA\qt5\Examples\Qt-5.14.0\widgets\widgets\build-wiggly-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_14_0_for_Android-Debug\android-build\aidl
       -IC:\Users\QT\RTA\qt5\5.14.0\android_x86_64\src\android\java\src 
      -IC:\Users\QT\RTA\qt5\Examples\Qt-5.14.0\widgets\widgets\build-wiggly-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_14_0_for_Android-Debug\android-build\src\debug\aidl
      -dC:\Users\QT\AppData\Local\Temp\aidl7056218519251063594.d 
      C:\Users\QT\RTA\qt5\5.14.0\android_x86_64\src\android\java\src\org\kde\necessitas\ministro\IMinistro.aidl}
      
      
      
      
      
      
      
      
      
      
      
      * Try:
      
      
      
      Run with --stacktrace option to get the stack trace. Run with 
      --info or --debug option to get more log output. Run with --scan to get 
      full insights.
      
      
      
      
      
      
      
      * Get more help at https://help.gradle.org
      
      
      
      
      
      
      
      BUILD FAILED in 6s
      
      
      
      1 actionable task: 1 executed
      
      
      
      Building the android package failed!
      
      
      
        -- For more information, run this command with --verbose.
      
      
      
      13:35:33: The process "C:\Users\QT\RTA\qt5\5.14.0\android_x86_64\bin\androiddeployqt.exe" exited with code 14.
      
      
      
      Error while building/deploying project wiggly (kit: Android for armeabi-v7a,arm64-v8a,x86,x86_64 (Clang Qt 5.14.0 for Android))
      
      
      
      When executing step "Build Android APK"
      
      
      
      13:35:33: Elapsed time: 00:21.
      
      
      
      
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            portale Alessandro Portale
            mipohjan Milla Pohjanheimo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes