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

Error on Android build (Windows Host) if ANDROID_SDK_PATH contains space

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • Qt Creator 4.6.1
    • Qt Creator 4.4.0
    • Android Support
    • None
    • Host: Windows 10, QtCreator 4.4.0, Qt 5.9.1

      Target: Android_x86 and android_arm

    Description

      The bootclasspath during the android build is not escaped or in "":

      javac -source 6 -target 6 -Xlint:unchecked -bootclasspath C:/Program Files (x86)/Android/android-sdk/platforms/android-23/android.jar -c [...]
      

      Therefore the build crashes with an error:

      javac invalid flag: (x86)/Android/android-sdk/platforms/android-23/android.jar
      

      Attachments

        Activity

          People

            vikas Vikas Pachdha
            Wickie Christoph Wick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: