Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt 5.1.1 Android
Qt 6.11 is out! See what's new in the release blog

Qt 5.1.1 Android

Scheduled Pinned Locked Moved General and Desktop
28 Posts 6 Posters 10.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.
  • C Offline
    C Offline
    clouca
    wrote on last edited by
    #16

    Sorry i did not saw your answer.. can you explain again in more detail how to solve this ?

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      ZeAL0T
      wrote on last edited by
      #17

      I'm not sure that it is exactly your problem, but I had the "Cannot find ELF information" error. It appeared after my changes in the project (.pro) file. I found that the problem was connected with outdated files in the "android" output folder.
      By default it is located near the *.pro file, and it named "android". But also it could be moved to another directory in settings (look “Projects” – >“Run” – >“Copy application data”).
      If you remove this folder, Qt Creator will create a new one, which will be correct for the current project.
      By the way it's possible just to remove "bin" inside "android" I think that its stuff can cause the error.

      1 Reply Last reply
      0
      • C Offline
        C Offline
        clouca
        wrote on last edited by
        #18

        ok.. i will test it and answer, but i think that is not the problem..

        1 Reply Last reply
        0
        • C Offline
          C Offline
          clouca
          wrote on last edited by
          #19

          I have tested that and get the message "Unable to start 'org.qtproject.example.Name". Any ideas ?

          1 Reply Last reply
          0
          • Z Offline
            Z Offline
            ZeAL0T
            wrote on last edited by
            #20

            Check if you really have Qt Application in your project with name "Name".

            1 Reply Last reply
            0
            • Z Offline
              Z Offline
              ZeAL0T
              wrote on last edited by
              #21

              It should have TEMPLATE = app

              1 Reply Last reply
              0
              • C Offline
                C Offline
                clouca
                wrote on last edited by
                #22

                Yes of course i have. So delete all files and changed from API 18 to API 17 and make a full rebuild without this error. The problem now is when i am trying to deploy at the begging i can see the program on emulator to pop up but one second later i get this message 'org.qtproject.example.Name' died.
                I think step by step we are getting experience on that and help other users also..
                Suggestions ?
                Thanks

                1 Reply Last reply
                0
                • Z Offline
                  Z Offline
                  ZeAL0T
                  wrote on last edited by
                  #23

                  I also have such a problem with emulator. But I didn't spend my time to solve it, because it works on my tablet pc.
                  The emulator is very slow and not so comfortable as a real device.

                  1 Reply Last reply
                  0
                  • Z Offline
                    Z Offline
                    ZeAL0T
                    wrote on last edited by
                    #24

                    To run it on a real device you should use "adb":http://developer.android.com/tools/help/adb.html.
                    The easiest way to start it - just run "adb devices".
                    Everything is fine if you see the device id in the list .
                    You should note that the API version of your apk shouldn't be greater then on your device.

                    1 Reply Last reply
                    0
                    • Z Offline
                      Z Offline
                      zing0000
                      wrote on last edited by
                      #25

                      I had the same problem.
                      Preceding the ELF error, I also had a warning that it had not found my libfoobar.so - but the path it was using was,
                      build-guySolution-Android_for_arm_GCC_4_8_Qt_5_1_0-Debug/guyproject

                      My workaround was to manually copy libfoobar.so to the guyproject subdirectory.

                      Then redeploy and no errors. (Now I just have to fix the project settings!)

                      1 Reply Last reply
                      0
                      • C Offline
                        C Offline
                        clouca
                        wrote on last edited by
                        #26

                        you mean you cannot set the path of the library ?

                        1 Reply Last reply
                        0
                        • J Offline
                          J Offline
                          johnthesoftware
                          wrote on last edited by
                          #27

                          This helped. Deleting the android directory within the project and rebuilding worked for me. Thanks

                          1 Reply Last reply
                          0
                          • D Offline
                            D Offline
                            dscyw
                            wrote on last edited by
                            #28

                            [quote author="johnthesoftware" date="1385034308"]This helped. Deleting the android directory within the project and rebuilding worked for me. Thanks[/quote]
                            I solve it by this way.

                            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