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. Cannot find application binary - Android build

Cannot find application binary - Android build

Scheduled Pinned Locked Moved Solved Mobile and Embedded
androidarm64-v8aarmeabi-v7a
4 Posts 2 Posters 1.9k 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.
  • H Offline
    H Offline
    Hitokage
    wrote on 15 Jan 2022, 09:15 last edited by
    #1

    Hi,
    I have upgraded my application to QT6 but there must be some leftovers from the previous version or something which I can't identify. I have selected the new kit Android Qt 6.2.2 Clang arm64-v8a to build for an Android device but I am getting this error:

    Cannot find application binary in build dir /.../build-Mind-Android_Qt_6_2_2_Clang_arm64_v8a-Release/android-build//libs/armeabi-v7a/libMind_armeabi-v7a.so.
    

    Which seems wrong since it's mixing v7 and v8 together. (Happens with or without AAB build). What I actually do have in the directory is:

    .../build-Mind-Android_Qt_6_2_2_Clang_arm64_v8a-Release/android-build/libs/arm64-v8a/libMind_arm64-v8a.so
    

    When switching to v7 I am getting:

    Cannot find application binary in build dir /.../build-Mind-Android_Qt_6_2_2_Clang_armeabi_v7a-Debug/android-build//libs/arm64-v8a/libMind_arm64-v8a.so.
    

    Which is again wrong :D. I can't find where I can switch the names to match the versions. Could anyone please at least tell me where to look for the solution? Thanks!

    1 Reply Last reply
    0
    • H Offline
      H Offline
      Hitokage
      wrote on 30 Jan 2022, 09:50 last edited by
      #3

      So after some research I have found the reason.
      I had

      ANDROID_ABIS = armeabi-v7a arm64-v8a
      

      in my project, probably for the AAB build in the previous QT version. Then both the versions were looked for during the compilation. This might also help someone with similar problem.

      1 Reply Last reply
      0
      • H Offline
        H Offline
        Hitokage
        wrote on 16 Jan 2022, 08:35 last edited by
        #2

        Happens also with x86 Android build:

        Cannot find application binary in build dir /.../build-Mind-Android_Qt_6_2_2_Clang_x86-Debug/android-build//libs/armeabi-v7a/libMind_armeabi-v7a.so.
        
        1 Reply Last reply
        0
        • H Offline
          H Offline
          Hitokage
          wrote on 30 Jan 2022, 09:50 last edited by
          #3

          So after some research I have found the reason.
          I had

          ANDROID_ABIS = armeabi-v7a arm64-v8a
          

          in my project, probably for the AAB build in the previous QT version. Then both the versions were looked for during the compilation. This might also help someone with similar problem.

          1 Reply Last reply
          0
          • T Offline
            T Offline
            Taimoor
            wrote on 19 Mar 2023, 08:25 last edited by
            #4

            I have the same problem

            :-1: error: Cannot find application binary in build dir .../build-ICS_MedicalDemo-Android_Qt_5_15_13_Clang_Multi_Abi-Debug/android-build//libs/x86_64/libICS_MedicalDemo_x86_64.so.
            
            What could be the issue in this case ?  I have already set ANDROID_ABI to correct x86_64 setting.
            
            ![4.png](https://ddgobkiprc33d.cloudfront.net/9bd50a69-ac6f-49c7-8337-88df3d92d77f.png)
            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