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 4.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 last edited by
    #5

    Unfortunately my android emulator is indeed x86.

    1 Reply Last reply
    0
    • P Offline
      P Offline
      Padlock
      wrote on last edited by
      #6

      So, what else coulde make it to fail?

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Arko
        wrote on 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 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 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 last edited by
              #10

              You've tried what exactly?

              1 Reply Last reply
              0
              • Quang PhuQ Offline
                Quang PhuQ Offline
                Quang Phu
                wrote on 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
                0
                • Quang PhuQ Quang Phu

                  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 last edited by
                  #12

                  @Quang-Phu hi can you help me

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    alexndernoom
                    wrote on last edited by
                    #13

                    You've tried what exactly?

                    1 Reply Last reply
                    0
                    • James Wood 32J Offline
                      James Wood 32J Offline
                      James Wood 32
                      wrote on 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