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. QT6.4.2 adb:failed to stat
Forum Updated to NodeBB v4.3 + New Features

QT6.4.2 adb:failed to stat

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 4 Posters 2.1k Views 1 Watching
  • 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.
  • R Offline
    R Offline
    RangerACR
    wrote on last edited by
    #1

    After recently updating I've run into an issue with QT giving me errors now regarding the android-build-debug.apk.

    adb: failed to stat Project/Andriod/build-Test3-Android_Qt_6_4_2_Clang_x86_64-Debug/android-build//build/outputs/apk/debug/android-build-debug.apk: No such file or directory
    Installing to device failed!
    The process "C:\Qt\6.4.2\mingw_64\bin\androiddeployqt.exe" exited with code 16.
    Installing the app failed with an unknown error.

    Ive tried to do some digging but what few post ive seen on this are really confusing and most are unresolved. Not sure where to begin to get this to work.

    E 1 Reply Last reply
    0
    • R RangerACR

      After recently updating I've run into an issue with QT giving me errors now regarding the android-build-debug.apk.

      adb: failed to stat Project/Andriod/build-Test3-Android_Qt_6_4_2_Clang_x86_64-Debug/android-build//build/outputs/apk/debug/android-build-debug.apk: No such file or directory
      Installing to device failed!
      The process "C:\Qt\6.4.2\mingw_64\bin\androiddeployqt.exe" exited with code 16.
      Installing the app failed with an unknown error.

      Ive tried to do some digging but what few post ive seen on this are really confusing and most are unresolved. Not sure where to begin to get this to work.

      E Offline
      E Offline
      EricAbraham
      wrote on last edited by
      #2

      @RangerACR I am having the same problem. Did you fix it?

      ERROR

      1 Reply Last reply
      0
      • S Offline
        S Offline
        scherbakov.al
        wrote on last edited by scherbakov.al
        #3

        I am also having this problem. From android studio, the device is flashed without problems. There is a bug in Qt. Apk is signed. How to fix this error?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          scherbakov.al
          wrote on last edited by
          #4

          If I do this command from terminal:

          sche@sche-s:~$ adb -s d11c1bf install ~/Documents/Programming/Qt projects/android_testtt__/builds/build-android_testtt__-Android_Qt_6_4_3_Clang_arm64_v8a-Release/android-build/build/outputs/apk/release/android-build-release-signed.apk
          Performing Streamed Install
          adb: failed to stat projects/android_testtt__/builds/build-android_testtt__-Android_Qt_6_4_3_Clang_arm64_v8a-Release/android-build/build/outputs/apk/release/android-build-release-signed.apk: No such file or directory
          

          I get the same error as in Qt.

          But if I open the terminal from the place where the apk file is located, then the application is installed. I don't understand why this works and the original version doesn't.

          sche@sche-s:~/Documents/Programming/Qt projects/android_testtt__/builds/build-android_testtt__-Android_Qt_6_4_3_Clang_arm64_v8a-Release/android-build/build/outputs/apk/release$ adb -s d11c1bf install android-build-release-signed.apk
          Performing Streamed Install
          Success
          

          ????

          1 Reply Last reply
          0
          • S Offline
            S Offline
            scherbakov.al
            wrote on last edited by
            #5

            A banal mistake: I removed the space in the name of the "Qt projects" folder (>>>"qt_projects") and everything worked. Uff.
            I have Ubuntu.

            C 1 Reply Last reply
            2
            • S scherbakov.al

              A banal mistake: I removed the space in the name of the "Qt projects" folder (>>>"qt_projects") and everything worked. Uff.
              I have Ubuntu.

              C Offline
              C Offline
              CarlosSmithAvid
              wrote on last edited by
              #6

              @scherbakov-al Sir, I would buy you a beer if I could. Thank you for posting your solution! I had the same problem and did not think of something so simple.

              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