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/Android deployment error
Forum Updated to NodeBB v4.3 + New Features

Qt6/Android deployment error

Scheduled Pinned Locked Moved Solved Mobile and Embedded
3 Posts 2 Posters 529 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.
  • mzimmersM Offline
    mzimmersM Offline
    mzimmers
    wrote on last edited by
    #1

    Hi all -

    I'm getting an error when trying to run a Qt application on my Android emulator.

    Installing Android package to device.
    Running command "C:/Users/Michael.Zimmers/AppData/Local/Android/Sdk/platform-tools/adb.exe -s emulator-5554  install -r C:/Users/Michael.Zimmers/Qt_projects/build-qmltest-Android_Qt_6_4_1_Clang_x86-Release/android-build//build/outputs/apk/release/android-build-release-signed.apk"
    Serving...
    Performing Incremental Install
    Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
    Performing Streamed Install
    14:57:24: The process "C:\Qt\6.4.1\mingw_64\bin\androiddeployqt.exe" exited with code 16.
    

    I thought I'd taken good enough notes on the process of setting up for Android, but...I guess I missed a step. Is this error message enough, or do I need to furnish more information for determining what I missed?

    Thanks...

    jsulmJ 1 Reply Last reply
    0
    • mzimmersM mzimmers

      Hi all -

      I'm getting an error when trying to run a Qt application on my Android emulator.

      Installing Android package to device.
      Running command "C:/Users/Michael.Zimmers/AppData/Local/Android/Sdk/platform-tools/adb.exe -s emulator-5554  install -r C:/Users/Michael.Zimmers/Qt_projects/build-qmltest-Android_Qt_6_4_1_Clang_x86-Release/android-build//build/outputs/apk/release/android-build-release-signed.apk"
      Serving...
      Performing Incremental Install
      Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
      Performing Streamed Install
      14:57:24: The process "C:\Qt\6.4.1\mingw_64\bin\androiddeployqt.exe" exited with code 16.
      

      I thought I'd taken good enough notes on the process of setting up for Android, but...I guess I missed a step. Is this error message enough, or do I need to furnish more information for determining what I missed?

      Thanks...

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @mzimmers said in Qt6/Android deployment error:

      INSTALL_FAILED_NO_MATCHING_ABIS

      Looks like you're trying to deploy binaries to a device with different ABI (like ARM -> x86).

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      mzimmersM 1 Reply Last reply
      2
      • jsulmJ jsulm

        @mzimmers said in Qt6/Android deployment error:

        INSTALL_FAILED_NO_MATCHING_ABIS

        Looks like you're trying to deploy binaries to a device with different ABI (like ARM -> x86).

        mzimmersM Offline
        mzimmersM Offline
        mzimmers
        wrote on last edited by
        #3

        @jsulm yeah, that was it, though it was a little more subtle: somehow, I've got kits for Android Clang x86 and Android Clang x86_64. I was trying to use x86, when I wanted x86_64. The app loads and runs now.

        Thanks...

        1 Reply Last reply
        1

        • Login

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