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 Qt 5.8 RC x86: cannot run x86 app on x86 emulator

Android Qt 5.8 RC x86: cannot run x86 app on x86 emulator

Scheduled Pinned Locked Moved Mobile and Embedded
5 Posts 2 Posters 1.8k 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.
  • V Offline
    V Offline
    Violet Giraffe
    wrote on last edited by
    #1

    I have just installed the latest 5.8 RC snapshot, built the app no problem (I only built ARM previously), but I can't run it in an x86 (not x86_64) emulator:

    java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/org.my.App-1/lib/x86/libApp.so" has unexpected e_machine: 40
    

    Is it a known problem? Do I need to reconfigure the project for x86 somehow?

    raven-worxR 1 Reply Last reply
    0
    • V Violet Giraffe

      I have just installed the latest 5.8 RC snapshot, built the app no problem (I only built ARM previously), but I can't run it in an x86 (not x86_64) emulator:

      java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/org.my.App-1/lib/x86/libApp.so" has unexpected e_machine: 40
      

      Is it a known problem? Do I need to reconfigure the project for x86 somehow?

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by raven-worx
      #2

      @Violet-Giraffe
      about what lib are we talking here? Is it a custom lib of yours?
      Maybe rerun qmake and perfom a full rebuild.

      This lib is missing in your apk it seems. Have you added it to your android folder (qmake/QtCreator)?

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      V 1 Reply Last reply
      0
      • raven-worxR raven-worx

        @Violet-Giraffe
        about what lib are we talking here? Is it a custom lib of yours?
        Maybe rerun qmake and perfom a full rebuild.

        This lib is missing in your apk it seems. Have you added it to your android folder (qmake/QtCreator)?

        V Offline
        V Offline
        Violet Giraffe
        wrote on last edited by
        #3

        @raven-worx
        I have run and re-run qmake, built and re-built the project many times.

        What I didn't do was delete the bin/ and build/ folders and then rebuild. My bad. That solved the problem - now the .so is loaded fine and I get the same Qt-induced OpenGL errors that I do in an ARM project.

        raven-worxR 1 Reply Last reply
        0
        • V Violet Giraffe

          @raven-worx
          I have run and re-run qmake, built and re-built the project many times.

          What I didn't do was delete the bin/ and build/ folders and then rebuild. My bad. That solved the problem - now the .so is loaded fine and I get the same Qt-induced OpenGL errors that I do in an ARM project.

          raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by
          #4

          @Violet-Giraffe
          this should happen implicitly when you are perfoming the rebuild step (i was talking about)

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          V 1 Reply Last reply
          0
          • raven-worxR raven-worx

            @Violet-Giraffe
            this should happen implicitly when you are perfoming the rebuild step (i was talking about)

            V Offline
            V Offline
            Violet Giraffe
            wrote on last edited by
            #5

            @raven-worx
            It should, but obviously something wasn't re-generated properly.

            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