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

Signing APK with KeyStore password containing special characters fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 4.14.0
    • Fix Version/s: None
    • Component/s: Android Support
    • Labels:
      None
    • Environment:
      Qt 5.5.0 on Windows 8.1
    • Platform/s:
      Android

      Description

      Trying to create a signed APK with a keystore password that contains special characters fails. The password in question is <Os&/Cf@rZT"m*R!5X]a, so perhaps the <, /, or * make it choke.

      11:49:37: Starte "C:\Qt\5.5\android_armv7\bin\androiddeployqt.exe" --input C:/qt-apps/build/build-app-Android_f_r_armeabi_v7a_GCC_4_9_Qt_5_5_0-Release/android-libApp.so-deployment-settings.json --output C:/qt-apps/build/build-App-Android_f_r_armeabi_v7a_GCC_4_9_Qt_5_5_0-Release/android-build --deployment bundled --android-platform android-22 --jdk "C:/Program Files (x86)/Java/jdk1.7.0_79" --ant C:/Android/ant/bin/ant.bat --sign ****** --storepass ******
      
      […]
      
      -release-nosign:
            [echo] No key.store and key.alias properties found in build.properties.
            [echo] Please sign C:\qt-apps\build\build-App-Android_f_r_armeabi_v7a_GCC_4_9_Qt_5_5_0-Release\android-build\bin\QtApp-release-unsigned.apk manually
            [echo] and run zipalign from the Android SDK tools.
      
       [propertyfile] Creating new property file: C:\qt-apps\build\build-App-Android_f_r_armeabi_v7a_GCC_4_9_Qt_5_5_0-Release\android-build\bin\build.prop
       [propertyfile] Updating property file: C:\qt-apps\build\build-App-Android_f_r_armeabi_v7a_GCC_4_9_Qt_5_5_0-Release\android-build\bin\build.prop
       [propertyfile] Updating property file: C:\qt-apps\build\build-App-Android_f_r_armeabi_v7a_GCC_4_9_Qt_5_5_0-Release\android-build\bin\build.prop
       [propertyfile] Updating property file: C:\qt-apps\build\build-App-Android_f_r_armeabi_v7a_GCC_4_9_Qt_5_5_0-Release\android-build\bin\build.prop
       
       -release-sign: 
       -post-build: 
       release: 
      
       BUILD SUCCESSFUL
      
      […]
      
       jarsigner command failed.   -- Run with --verbose for more information.
      

        Attachments

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

          Activity

            People

            Assignee:
            rampe Rami Potinkara
            Reporter:
            broulik Kai Uwe Broulik
            PM Owner:
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes