Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. androiddeployqt.exe exited with code 16
Forum Update on Monday, May 27th 2025

androiddeployqt.exe exited with code 16

Scheduled Pinned Locked Moved Solved Mobile and Embedded
3 Posts 1 Posters 1.8k 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.
  • SeDiS Offline
    SeDiS Offline
    SeDi
    wrote on last edited by SeDi
    #1

    Hi,
    I can't deploy any app to Android.
    Compile log:

    Skipping createRCC
    adb server version (39) doesn't match this client (41); killing...
    * daemon started successfully
    Installing Android package to device.
    Running command "C:/AndroidSDK/platform-tools/adb.exe -s ce12182c5a102118037e  install -r C:/temptrier/build-WriteableLocationQuickTest-Android_Qt_5_15_2_Clang_Multi_Abi-Debug/android-build//build/outputs/apk/debug/android-build-debug.apk"
    Performing Streamed Install
    adb: failed to install C:/temptrier/build-WriteableLocationQuickTest-Android_Qt_5_15_2_Clang_Multi_Abi-Debug/android-build//build/outputs/apk/debug/android-build-debug.apk: Installing to device failed!
    11:31:07: The process "C:\Qt\5.15.2\android\bin\androiddeployqt.exe" exited with code 16.
    

    Interesting could be the double slash in the apk path. I've read about that in a few posts - but never seen a solution. Windows Explorer wouldn't take that as a valid path. I don't know where I can influence the path's building.

    Here my Android settings:
    screenshot.png

    Creator 5.02
    Qt 5.15.2 (complete reinstall didn't help)
    Win10-64
    targeting API 30

    Thanks for any ideas!

    1 Reply Last reply
    0
    • SeDiS Offline
      SeDiS Offline
      SeDi
      wrote on last edited by SeDi
      #2

      Hey, can nobody give me a hint on this one? It doesn´t even work with a new QML project. I cannot develop on my laptop. That's a problem right now, as I am going on family vacation and have to finish a few things from abroad...
      sdk.png

      1 Reply Last reply
      0
      • SeDiS Offline
        SeDiS Offline
        SeDi
        wrote on last edited by SeDi
        #3

        Solved. I have found a Splashtop Wired XDisplay Agent using a different adb version. Had to deactivate it, because it restarted adb quicker than Qt could handle the problem.

        1 Reply Last reply
        0
        • Axel SpoerlA Axel Spoerl referenced this topic on

        • Login

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