Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-31124

Can't start Android app

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 12.0.2, Qt Creator 13.0.2
    • Android Support
    • None
    • Android

    Description

      Sometimes I'm getting INSTALL_FAILED_OLDER_SDK when I'm trying just to build&run my project again and again. I have to restart my PC to repair it.

       

      adb: failed to install C:/Users/user/Documents/QtProjects/build-file64test-Android_Qt_6_6_3_Clang_armeabi_v7a-Debug/android-build//build/outputs/apk/debug/android-build-debug.apk: Failure [INSTALL_FAILED_OLDER_SDK: Failed parse during installPackageLI: /data/app/vmdl1575937327.tmp/base.apk (at Binary XML file line #8): Requires newer sdk version #33 (current version is #30)]
      Installing to device failed!
      
      
      Installing Android package to device.
      Running command "C:/Users/user/AppData/Local/Android/Sdk/platform-tools/adb.exe -s RZ8M71W4DZF  install -r C:/Users/user/Documents/QtProjects/build-file64test-Android_Qt_6_6_3_Clang_armeabi_v7a-Debug/android-build//build/outputs/apk/debug/android-build-debug.apk"
      Performing Streamed Install
      01:21:13: The process "C:\Qt\6.6.3\mingw_64\bin\androiddeployqt.exe" exited with code 16.
      01:21:13: Installing the app failed with an unknown error.
      01:21:13: Pulling files necessary for debugging.
      01:21:13: Package deploy: Running command "C:\Users\user\AppData\Local\Android\Sdk\platform-tools\adb.exe -s RZ8M71W4DZF pull /system/bin/app_process C:\Users\user\Documents\QtProjects\build-file64test-Android_Qt_6_6_3_Clang_armeabi_v7a-Debug\android-app-process\app_process".
      01:21:13: Package deploy: Running command "C:\Users\user\AppData\Local\Android\Sdk\platform-tools\adb.exe -s RZ8M71W4DZF pull /system/bin/app_process32 C:\Users\user\Documents\QtProjects\build-file64test-Android_Qt_6_6_3_Clang_armeabi_v7a-Debug\android-app-process\app_process".
      01:21:13: Package deploy: Running command "C:\Users\user\AppData\Local\Android\Sdk\platform-tools\adb.exe -s RZ8M71W4DZF pull /system/bin/linker C:\Users\user\Documents\QtProjects\build-file64test-Android_Qt_6_6_3_Clang_armeabi_v7a-Debug\android-app-process\linker".
      01:21:13: Package deploy: Running command "C:\Users\user\AppData\Local\Android\Sdk\platform-tools\adb.exe -s RZ8M71W4DZF pull /system/lib/libc.so C:\Users\user\Documents\QtProjects\build-file64test-Android_Qt_6_6_3_Clang_armeabi_v7a-Debug\android-app-process\libc.so".
      Error while building/deploying project file64test (kit: Android Qt 6.6.3 Clang armeabi-v7a)
      When executing step "Deploy to Android device"
      01:21:13: Elapsed time: 00:12.
       
      
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            portale Alessandro Portale
            alervd Alexander Dyagilev
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes