[Solved]Official Qt 5.1 android application deploy error on device ..
-
wrote on 7 Jul 2013, 12:30 last edited by
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? -
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 ? -
wrote on 7 Jul 2013, 12:59 last edited by
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
-
Ok. I have even downloaded the API level 10 which is for ICS 4.0.3 and also compiled against it.
-
wrote on 7 Jul 2013, 13:22 last edited by
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
-
Moster, Your Apk worked on my device. 3 Buttons and 2 radiobuttons.
Well now can you just post exact details related to Qt.- Qt version
- Android NDK version (Possibly provide exact download link)
- Android SDK version (Possibly provide exact download link)
- Open JDK version
- Ant tool version
- Package Configuration > Android Target SDK
- Deploy Configuration
- Android Kits as seen in "Build & run" > Kits
- Qt Versions as seen in "Build & run" > Qt Versions
It would be very very helpful.
Thanks in advance. -
wrote on 7 Jul 2013, 13:42 last edited by
- Qt 5.1 release
- ndk-r8e http://developer.android.com/tools/sdk/ndk/index.html (x86_x64 version since Im using ubuntu x64)
- 22 from here http://dl.google.com/android/android-sdk_r22.0.1-linux.tgz
- OpenJDK 6 for amd64
- Ant 1.8.2 http://i.imgur.com/scmwd8B.png
- Target SDK is 10
- Use Qt libraries from device and Use local Qt libraries (like you)
- Android for arm (GCC 4.7, Qt 5.1.0)
- Qt 5.1.0 for Android armv7
-
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
-
wrote on 7 Jul 2013, 14:25 last edited by
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 -
Well thanks for all your support, ill now try with 64 bit ubuntu.
-
wrote on 17 Jul 2013, 19:34 last edited by
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.
-
wrote on 17 Jul 2013, 21:39 last edited by
That's what I also said in my latest post. I guess he didnt try it.