Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Unable to sign Android app : wrong path for zipalign



  • Hi,

    I'm struggling with APK signing. It used to work, but since a few days, I'm unable to sign a new version of my app, due to a wrong path for the zipalign tool called by androiddeployqt.

    zipalign tool not found: D:/Android/sdk/build-tools//zipalign.exe
    17:40:54: The process "C:\Qt\5.12.7\android_armv7\bin\androiddeployqt.exe" exited with code 15.
    

    The full path of the tool being D:\Android\sdk\build-tools\28.0.3, the version is missing.

    I tried reinstalling Qt and the android SDK same trouble.

    Any idea ?

    Thanks



  • Looks like sdkBuildToolsRevision property is not set in android_deployment_settings.json when building a cmake project.



  • I created a bug https://bugreports.qt.io/browse/QTCREATORBUG-24703 though I'm not sure if it is Qt Creator or Qt bug.


Log in to reply