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. How to change android architecture for which android apk is created?
Forum Updated to NodeBB v4.3 + New Features

How to change android architecture for which android apk is created?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
14 Posts 6 Posters 3.5k 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.
  • A Offline
    A Offline
    Arko
    wrote on 9 May 2020, 08:31 last edited by
    #1

    Hi,
    I've got a problem, that apk builder architecture and my emulator architecture don't match. I use x86 architecture on android emulator, and when trying to deploy app on it I get INSTALL_FAILED_NO_MATCHING_ABIS
    So there's my question. Where I could change the ABI that is used for building apk?

    1 Reply Last reply
    0
    • P Offline
      P Offline
      Padlock
      wrote on 9 May 2020, 17:56 last edited by
      #2

      I think it is Projects -> Android... Build -> Build Android APK, then the Details button.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Arko
        wrote on 9 May 2020, 20:22 last edited by
        #3

        I don't see any option for that in Build Android APK :/

        1 Reply Last reply
        0
        • P Offline
          P Offline
          Padlock
          wrote on 9 May 2020, 21:02 last edited by Padlock 5 Sept 2020, 21:04
          #4

          Sorry, I misread the subject line and haven't looked up that error message.
          Most likely your Android emulator is not an x86 version.

          1 Reply Last reply
          0
          • A Offline
            A Offline
            Arko
            wrote on 9 May 2020, 22:04 last edited by
            #5

            Unfortunately my android emulator is indeed x86.

            1 Reply Last reply
            0
            • P Offline
              P Offline
              Padlock
              wrote on 10 May 2020, 00:37 last edited by
              #6

              So, what else coulde make it to fail?

              1 Reply Last reply
              0
              • A Offline
                A Offline
                Arko
                wrote on 10 May 2020, 10:48 last edited by
                #7

                I don't know. My error is like I said INSTALL_FAILED_NO_MATCHING_ABIS I'm using x86 android 10 emulator that was created through avd manager in android studio.

                1 Reply Last reply
                0
                • P Offline
                  P Offline
                  Padlock
                  wrote on 10 May 2020, 11:52 last edited by
                  #8

                  This error says that the platforms are not compatible. Because you're sure you've built for the emulator's CPU could it be an issue with 32 or 64 bit? If the emulator is x86 32 bit and you built for x86 64 you'd receive that error too.

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    Arko
                    wrote on 11 May 2020, 19:31 last edited by
                    #9

                    Unfortunately I tried with x86_64 but it still doesn't work

                    1 Reply Last reply
                    0
                    • P Offline
                      P Offline
                      Padlock
                      wrote on 11 May 2020, 23:14 last edited by
                      #10

                      You've tried what exactly?

                      1 Reply Last reply
                      0
                      • Q Offline
                        Q Offline
                        Quang Phu
                        wrote on 12 May 2020, 01:51 last edited by
                        #11

                        Hi @Arko,
                        I think it's easier if I give you an example to run an app in simulator.
                        First, I have project setting like this:
                        Screenshot from 2020-05-12 08-45-27.png
                        This means I choos x86 as apk output architecture.
                        Then when try to run my project, the device selection with be shown, just choose the correct architecture, as below I have 2 devices match with setting, just choosr 1 one. Then APK will work fine.
                        Screenshot from 2020-05-12 08-48-29.png
                        My system info: Ubuntu 18.04, Qt 5.14.1.

                        S 1 Reply Last reply 24 Feb 2024, 21:33
                        0
                        • Q Quang Phu
                          12 May 2020, 01:51

                          Hi @Arko,
                          I think it's easier if I give you an example to run an app in simulator.
                          First, I have project setting like this:
                          Screenshot from 2020-05-12 08-45-27.png
                          This means I choos x86 as apk output architecture.
                          Then when try to run my project, the device selection with be shown, just choose the correct architecture, as below I have 2 devices match with setting, just choosr 1 one. Then APK will work fine.
                          Screenshot from 2020-05-12 08-48-29.png
                          My system info: Ubuntu 18.04, Qt 5.14.1.

                          S Offline
                          S Offline
                          Salwls
                          wrote on 24 Feb 2024, 21:33 last edited by
                          #12

                          @Quang-Phu hi can you help me

                          1 Reply Last reply
                          0
                          • A Offline
                            A Offline
                            alexndernoom
                            wrote on 17 Feb 2025, 08:58 last edited by
                            #13

                            You've tried what exactly?

                            1 Reply Last reply
                            0
                            • J Offline
                              J Offline
                              James Wood 32
                              wrote on 17 Mar 2025, 09:26 last edited by
                              #14
                              This post is deleted!
                              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