Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-36327

androiddeployqt signing fails if alias contains spaces

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.3.0
    • 5.2.0
    • Build tools: Other
    • None
    • Qt5.2 online installer Linux 64bit
      Kubuntu 12.04
    • Android
    • 546b9faa04845ca636203679a1ce29b6f3015335

    Description

      If I try to deploy an android app in QtCreator with Package signing enabled,
      androiddeploqt fails with

      Signing Android package.
      jarsigner: Certificate chain not found for: dem.  dem must reference a valid KeyStore key entry containing a private key and corresponding public key certificate chain.
      

      IMHO this fails because my keystore has an alias that contains spaces ("dem" is only the first part of the alias).
      I fixed this in androiddeployqt in line 1844:

       jarSignerTool += QString::fromLatin1(" %1 \"%2\"")
      

      instead of

       jarSignerTool += QString::fromLatin1(" %1 %2")
      

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            lkdem Ludger Krämer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes