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. Android on Qt not Working

Android on Qt not Working

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 3 Posters 101 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.
  • O Offline
    O Offline
    OldRoly
    wrote 22 days ago last edited by
    #1

    I am a newbie, so if I have missed an essential step I apologise in advance.
    I am using Qt16.0.1 on Windows 10. Android device is a Samsung AO4s - I believe the processor to be an AMD, in any case I have tried all kits available for Android without success.

    I believe the kits are set up correctly:
    4a51ff5a-e024-4652-8c82-3cd8d151017a-image.png .

    and

    e373f8a8-b054-4a24-8da9-8ce4523dfa0b-image.png

    I have tried both versions of CMake.

    I always get this error message: :-1: error: Cannot find application binary in build dir C:/Users/Roly/Documents/Qt Examples/Android1/build/Android_Qt_6_9_0_Clang_arm64_v8a-Release/android-build-Android1//libs/arm64-v8a/libAndroid1_arm64-v8a.so.

    I note that there is a "//" in this path. File explorer shows the path ending at ".../Android1/"

    Looks like a bug to me.

    I would appreciate any help.

    Thanks

    J J 2 Replies Last reply 21 days ago
    0
    • O OldRoly
      22 days ago

      I am a newbie, so if I have missed an essential step I apologise in advance.
      I am using Qt16.0.1 on Windows 10. Android device is a Samsung AO4s - I believe the processor to be an AMD, in any case I have tried all kits available for Android without success.

      I believe the kits are set up correctly:
      4a51ff5a-e024-4652-8c82-3cd8d151017a-image.png .

      and

      e373f8a8-b054-4a24-8da9-8ce4523dfa0b-image.png

      I have tried both versions of CMake.

      I always get this error message: :-1: error: Cannot find application binary in build dir C:/Users/Roly/Documents/Qt Examples/Android1/build/Android_Qt_6_9_0_Clang_arm64_v8a-Release/android-build-Android1//libs/arm64-v8a/libAndroid1_arm64-v8a.so.

      I note that there is a "//" in this path. File explorer shows the path ending at ".../Android1/"

      Looks like a bug to me.

      I would appreciate any help.

      Thanks

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote 21 days ago last edited by
      #2

      @OldRoly said in Android on Qt not Working:

      Looks like a bug to me

      Two slashes do not matter.
      Did you check whether C:/Users/Roly/Documents/Qt Examples/Android1/build/Android_Qt_6_9_0_Clang_arm64_v8a-Release/android-build-Android1//libs/arm64-v8a/libAndroid1_arm64-v8a.so file exists?
      You should also avoid using paths with spaces.

      "I believe the processor to be an AMD" - you should not believe but know, especially considering that the path above points to an ARM build.

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

      1 Reply Last reply
      0
      • O OldRoly
        22 days ago

        I am a newbie, so if I have missed an essential step I apologise in advance.
        I am using Qt16.0.1 on Windows 10. Android device is a Samsung AO4s - I believe the processor to be an AMD, in any case I have tried all kits available for Android without success.

        I believe the kits are set up correctly:
        4a51ff5a-e024-4652-8c82-3cd8d151017a-image.png .

        and

        e373f8a8-b054-4a24-8da9-8ce4523dfa0b-image.png

        I have tried both versions of CMake.

        I always get this error message: :-1: error: Cannot find application binary in build dir C:/Users/Roly/Documents/Qt Examples/Android1/build/Android_Qt_6_9_0_Clang_arm64_v8a-Release/android-build-Android1//libs/arm64-v8a/libAndroid1_arm64-v8a.so.

        I note that there is a "//" in this path. File explorer shows the path ending at ".../Android1/"

        Looks like a bug to me.

        I would appreciate any help.

        Thanks

        J Offline
        J Offline
        JoeCFD
        wrote 20 days ago last edited by JoeCFD
        #3

        @OldRoly your selection is not arm64_v8a in the second picture. And what is the Android version in your phone? Find out the compatibility of android version and jdk version.

        1 Reply Last reply
        0

        1/3

        21 Apr 2025, 04:32

        • Login

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