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. [Solved]Official Qt 5.1 android application deploy error on device ..
Forum Updated to NodeBB v4.3 + New Features

[Solved]Official Qt 5.1 android application deploy error on device ..

Scheduled Pinned Locked Moved Mobile and Embedded
16 Posts 4 Posters 10.2k 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.
  • M Offline
    M Offline
    Moster
    wrote on last edited by
    #5

    Ive googled your issue: cannot locate '__aeabi_ldiv0'...
    Not really satisfying: https://github.com/paddybyers/anode/issues/12
    You dont have another device to test it?

    1 Reply Last reply
    0
    • p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #6

      hmm. I also tested it on my HTC Desire V android version 4.0.3. The same problem occurs.
      Moster, are you using the latest officially release Qt 5.1 for Android ?
      Because i have been using Necessitas which uses qt4.x previously and the Apk built used get deployed with no issues on both devices.
      Can you upload a sample .apk built using your toolchain ?

      157

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Moster
        wrote on last edited by
        #7

        I can of course do that, but the problem seems to be ICS (api level 15), since the same error occurs on the emulator. It does not happen with other api levels.

        here is some test apk https://mega.co.nz/#!pp8EQCiI!TgGvuE7BL4LaLar9jkwYaivEP04FKO6lrtUS6t6s3d4

        It has some buttons on it

        1 Reply Last reply
        0
        • p3c0P Offline
          p3c0P Offline
          p3c0
          Moderators
          wrote on last edited by
          #8

          Ok. I have even downloaded the API level 10 which is for ICS 4.0.3 and also compiled against it.

          157

          1 Reply Last reply
          0
          • M Offline
            M Offline
            Moster
            wrote on last edited by
            #9

            I mean, its android 4.0.3 itself (api 15) that causes this error. Api 10 is android 2.3.3 (gingerbread). There seems to be some library or whatever on 4.0.3 that fails while loading the qt5 libs

            1 Reply Last reply
            0
            • p3c0P Offline
              p3c0P Offline
              p3c0
              Moderators
              wrote on last edited by
              #10

              Moster, Your Apk worked on my device. 3 Buttons and 2 radiobuttons.
              Well now can you just post exact details related to Qt.

              1. Qt version
              2. Android NDK version (Possibly provide exact download link)
              3. Android SDK version (Possibly provide exact download link)
              4. Open JDK version
              5. Ant tool version
              6. Package Configuration > Android Target SDK
              7. Deploy Configuration
              8. Android Kits as seen in "Build & run" > Kits
              9. Qt Versions as seen in "Build & run" > Qt Versions

              It would be very very helpful.
              Thanks in advance.

              157

              1 Reply Last reply
              0
              • M Offline
                M Offline
                Moster
                wrote on last edited by
                #11
                1. Qt 5.1 release
                2. ndk-r8e http://developer.android.com/tools/sdk/ndk/index.html (x86_x64 version since Im using ubuntu x64)
                3. 22 from here http://dl.google.com/android/android-sdk_r22.0.1-linux.tgz
                4. OpenJDK 6 for amd64
                5. Ant 1.8.2 http://i.imgur.com/scmwd8B.png
                6. Target SDK is 10
                7. Use Qt libraries from device and Use local Qt libraries (like you)
                8. Android for arm (GCC 4.7, Qt 5.1.0)
                9. Qt 5.1.0 for Android armv7
                1 Reply Last reply
                0
                • p3c0P Offline
                  p3c0P Offline
                  p3c0
                  Moderators
                  wrote on last edited by
                  #12

                  Thanks,
                  The changes that are on my side is that i'm using 32 bit ubuntu 12.10 and Ant 1.9 . I don't know whether it is causing the problem. Also i tried with Open JDK 7 but no success.

                  "Screen":http://imgur.com/lcYKZFx

                  157

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    Moster
                    wrote on last edited by
                    #13

                    I can only test it on the android emulator with ICS(4.0.3).
                    But it seems to be GCC 4.4.3, with 4.6 and 4.7 it works

                    1 Reply Last reply
                    0
                    • p3c0P Offline
                      p3c0P Offline
                      p3c0
                      Moderators
                      wrote on last edited by
                      #14

                      Well thanks for all your support, ill now try with 64 bit ubuntu.

                      157

                      1 Reply Last reply
                      0
                      • T Offline
                        T Offline
                        tgriffith
                        wrote on last edited by
                        #15

                        I was getting the same error as you, and I was using the same Qt details to compile with.

                        I am no longer getting this error after switching from 4.4.3 to 4.7.

                        1 Reply Last reply
                        0
                        • M Offline
                          M Offline
                          Moster
                          wrote on last edited by
                          #16

                          That's what I also said in my latest post. I guess he didnt try it.

                          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