Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. apksigner command failed
Qt 6.11 is out! See what's new in the release blog

apksigner command failed

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 99 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    g1ennr
    wrote last edited by
    #1

    I'm trying to run a Release build on an Android device from Qt Creator.
    The build succeeds if signing is disabled, but deploying to a device fails, as expected.

    If I enable "Sign package" In Build Settings-Build Steps-Build Android APK then the build fails as shown below. I am suspicious of the fact that the failure is reported before the verification finishes.

    How can I either fix this, or work around the issue?

    ...
    33673095 lib/arm64-v8a/libqml_QtQuick_Controls_FluentWinUI3_qtquickcontrols2fluentwinui3styleplugin_arm64-v8a.so (OK - compressed)
    34717866 lib/arm64-v8a/libqml_QtQuick_Controls_Fusion_impl_qtquickcontrols2fusionstyleimplplugin_arm64-v8a.so (OK - compressed)
    34722594 lib/arm64-v8a/libqml_QtQuick_Controls_Fusion_qtquickcontrols2fusionstyleplugin_arm64-v8a.so (OK - compressed)
    34727689 lib/arm64-v8a/libqml_QtQuick_Controls_Imagine_impl_qtquickcontrols2imaginestyleimplplugin_arm64-v8a.so (OK - compressed)
    34732410 lib/arm64-v8a/libqml_QtQuick_Controls_Imagine_qtquickcontrols2imaginestyleplugin_arm64-v8a.so (OK - compressed)
    Missing input APK
    apksigner command failed.
    34737514 lib/arm64-v8a/libqml_QtQuick_Controls_Material_impl_qtquickcontrols2materialstyleimplplugin_arm64-v8a.so (OK - compressed)
    34742239 lib/arm64-v8a/libqml_QtQuick_Controls_Material_qtquickcontrols2materialstyleplugin_arm64-v8a.so (OK - compressed)
    34747394 lib/arm64-v8a/libqml_QtQuick_Controls_Universal_impl_qtquickcontrols2universalstyleimplplugin_arm64-v8a.so (OK - compressed)
    34752137 lib/arm64-v8a/libqml_QtQuick_Controls_Universal_qtquickcontrols2universalstyleplugin_arm64-v8a.so (OK - compressed)
    34757265 lib/arm64-v8a/libqml_QtQuick_Controls_impl_qtquickcontrols2implplugin_arm64-v8a.so (OK - compressed)
    34762025 lib/arm64-v8a/libqml_QtQuick_Controls_qtquickcontrols2plugin_arm64-v8a.so (OK - compressed)
    34773017 lib/arm64-v8a/libqml_QtQuick_Dialogs_qtquickdialogsplugin_arm64-v8a.so (OK - compressed)
    34777762 lib/arm64-v8a/libqml_QtQuick_Dialogs_quickimpl_qtquickdialogs2quickimplplugin_arm64-v8a.so (OK - compressed)
    34782511 lib/arm64-v8a/libqml_QtQuick_Effects_effectsplugin_arm64-v8a.so (OK - compressed)
    34787223 lib/arm64-v8a/libqml_QtQuick_Layouts_qquicklayoutsplugin_arm64-v8a.so (OK - compressed)
    34791942 lib/arm64-v8a/libqml_QtQuick_Shapes_qmlshapesplugin_arm64-v8a.so (OK - compressed)
    34796736 lib/arm64-v8a/libqml_QtQuick_Templates_qtquicktemplates2plugin_arm64-v8a.so (OK - compressed)
    34801748 lib/arm64-v8a/libqml_QtQuick_Window_quickwindowplugin_arm64-v8a.so (OK - compressed)
    34806997 lib/arm64-v8a/libqml_QtQuick_qtquick2plugin_arm64-v8a.so (OK - compressed)
    34811779 lib/arm64-v8a/libqml_QtWebView_qtwebviewquickplugin_arm64-v8a.so (OK - compressed)
    34816513 lib/arm64-v8a/libqml_Qt_labs_folderlistmodel_qmlfolderlistmodelplugin_arm64-v8a.so (OK - compressed)
    34821200 lib/arm64-v8a/libqml_Qt_labs_platform_labsplatformplugin_arm64-v8a.so (OK - compressed)
    34825855 lib/arm64-v8a/libqml_Qt_labs_settings_qmlsettingsplugin_arm64-v8a.so (OK - compressed)
    34830467 lib/arm64-v8a/libssl_3.so (OK - compressed)
    35074415 lib/arm64-v8a/libswresample.so (OK - compressed)
    35116529 lib/arm64-v8a/libswscale.so (OK - compressed)
    35399300 assets/android_rcc_bundle.rcc (OK)
    35415361 AndroidManifest.xml (OK - compressed)
    35417768 res/2H.png (OK)
    35418788 res/8p.png (OK)
    35421245 res/Dt.xml (OK - compressed)
    35421484 res/yj.png (OK)
    35423100 resources.arsc (OK)
    Verification succesful
    APK already aligned, copying it for signing.
    12:00:38: The command "C:\Qt\6.8.3\mingw_64\bin\androiddeployqt.exe --input path/to/Qt_6_8_3_for_Android_arm64_v8a-Release/android-ErgRace-deployment-settings.json --output path/to/Qt_6_8_3_for_Android_arm64_v8a-Release/android-build-MyApp --android-platform android-34 --jdk "C:/Program Files/Eclipse Adoptium/jdk-17.0.14.7-hotspot" --verbose --gradle --release --sign path/to/my.keystore myalias --storepass "****" --no-gdbserver" terminated with exit code 15.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved