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. Qt Creator Android 15 adb.exe pull /system/bin/app_process64 error
Forum Updated to NodeBB v4.3 + New Features

Qt Creator Android 15 adb.exe pull /system/bin/app_process64 error

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 4 Posters 166 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.
  • V Offline
    V Offline
    Vitagrit
    wrote last edited by
    #1

    QtCreator with Android device was working fine until updated OS to Android 15.
    Now the apk is built and runs but every time it displays compile error:
    The command "<PATH>\Android\SDK\platform-tools\adb.exe -s <DEVICE_ID> pull /system/bin/app_process64 <PATH>\app_process" terminated with exit code 1.

    Message box:
    Ignore all errors? - Qt Creator
    found some build errors in current task. do you want to ignore them?
    Click Yes and the app runs, but I assume missing the step below (which I think gets a list of running processes?).

    Qt Creator COMPILE OUTPUT:
    ...
    Android package built successfully in X ms.
    -- It can now be run from the selected device/emulator.
    -- File: <PATH>.apk
    The process "<PATH>\androiddeployqt.exe" exited normally.
    Package deploy: Running command "<PATH>\platform-tools\adb.exe -s <DEVICE_ID> pull /system/bin/app_process64 <PATH>\app_process".
    The command "<PATH>\adb.exe -s <DEVICE_ID> pull /system/bin/app_process64 <PATH>\app_process" terminated with exit code 1.
    Package deploy: Running command "<PATH>\adb.exe -s <DEVICE_ID> pull /system/bin/linker64 <PATH>\linker64".
    Package deploy: Running command "<PATH>\adb.exe -s <DEVICE_ID> pull /system/lib64/libc.so <PATH>\libc.so".
    ...

    TESTED:
    Reinstalled Qt Creator, checked Devices, Kits, android build platform.
    Re-enabled developer options and USB debugging on device.

    Running the command manually (that produces the error) in Qt Creator terminal :
    adb: error: failed to copy '/system/bin/app_process64' to '<PATH>\android-app-process\app_process': remote open failed: Operation not permitted

    Android Studio deploys fine to the device.
    Qt Creator Emulator app runs fine.
    Is this an Android 15 problem?

    1 Reply Last reply
    0
    • cristian-adamC Offline
      cristian-adamC Offline
      cristian-adam
      wrote last edited by
      #2

      Please do open a bug report at https://bugreports.qt.io/secure/CreateIssue.jspa?pid=10512

      I am seeing the same state on macOS with Android 15 and a Samsung Galaxy S23.

      The file rights on the device are:

      dm1q:/ $ ls -al /system/bin/app_process64                                                                                        
      -rwxr-xr-x 1 root shell 23104 2022-01-01 01:00 /system/bin/app_process64
      

      the same as on the emulator:

      emu64a:/ $ ls -al /system/bin/app_process64                                                                                      
      -rwxr-xr-x 1 root shell 51768 2024-09-13 23:46 /system/bin/app_process64
      

      But when trying to copy the file from the device, it fails with:

      % ./adb pull /system/bin/app_process64 .
      adb: error: failed to copy '/system/bin/app_process64' to './app_process64': remote open failed: Operation not permitted
      
      V 1 Reply Last reply
      1
      • cristian-adamC Offline
        cristian-adamC Offline
        cristian-adam
        wrote last edited by
        #3

        I've tried with Android Studio, similar situation. Emulator works, device doesn't.

        failed to connect to socket 'localabstract:/io.qt.dice-0/platform-1751563898159.sock': could not connect to localabstract address 'localabstract:/io.qt.dice-0/platform-1751563898159.sock'
        2025-07-03 19:31:39.736 28518-28521 nativeloader            io.qt.dice                           D  
        
        1 Reply Last reply
        0
        • cristian-adamC cristian-adam referenced this topic
        • cristian-adamC cristian-adam

          Please do open a bug report at https://bugreports.qt.io/secure/CreateIssue.jspa?pid=10512

          I am seeing the same state on macOS with Android 15 and a Samsung Galaxy S23.

          The file rights on the device are:

          dm1q:/ $ ls -al /system/bin/app_process64                                                                                        
          -rwxr-xr-x 1 root shell 23104 2022-01-01 01:00 /system/bin/app_process64
          

          the same as on the emulator:

          emu64a:/ $ ls -al /system/bin/app_process64                                                                                      
          -rwxr-xr-x 1 root shell 51768 2024-09-13 23:46 /system/bin/app_process64
          

          But when trying to copy the file from the device, it fails with:

          % ./adb pull /system/bin/app_process64 .
          adb: error: failed to copy '/system/bin/app_process64' to './app_process64': remote open failed: Operation not permitted
          
          V Offline
          V Offline
          Vitagrit
          wrote last edited by
          #4

          @cristian-adam said in Qt Creator Android 15 adb.exe pull /system/bin/app_process64 error:

          I am seeing the same state on macOS with Android 15 and a Samsung Galaxy S23.

          Thanks for that, yes it seems to be a file access issue, I also wondered if there might be a new Developer Mode setting to enable this to work

          SMF-QtS 1 Reply Last reply
          0
          • V Vitagrit

            @cristian-adam said in Qt Creator Android 15 adb.exe pull /system/bin/app_process64 error:

            I am seeing the same state on macOS with Android 15 and a Samsung Galaxy S23.

            Thanks for that, yes it seems to be a file access issue, I also wondered if there might be a new Developer Mode setting to enable this to work

            SMF-QtS Offline
            SMF-QtS Offline
            SMF-Qt
            wrote last edited by SMF-Qt
            #5

            @Vitagrit

            I have had the same problem [https://forum.qt.io/topic/162533/testing-android-apk-with-qtcreator-fails-with-an-error] while setting up an android development environment.
            My current work around is to create the arm64-v8a APK file and manually copy it to the target devices download directory and install it from there, all my debugging is done using the X86_64 simulator.

            1 Reply Last reply
            0
            • R Offline
              R Offline
              Rampe
              wrote last edited by
              #6

              Thx for the topic and ticket, discussion continuing in https://bugreports.qt.io/browse/QTCREATORBUG-33203

              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