[Android-development] Qt 5.3 @ android maybe a bug (libplugins_platforms_android_libqtforandroid.so)
Harri Pasanen
harri at mpaja.com
Sat Mar 15 12:34:44 CET 2014
Do you have the problem both when deploying Qt libs to temp directory
and when packaging them to apk?
FYI, I'm building my Qt stable branch myself, using Feb 1 snapshot of
Qt Creator (3.0.81 master), and both apk and temp lib deployment seem to
work fine for my test app.
Harri
On 15/03/2014 11:37, Eric Seigne wrote:
>
> Hello,
> excuse me, "this bug" is here
> https://bugreports.qt-project.org/browse/QTBUG-37164
>
> Éric
>
> Le 14/03/2014 18:30, Éric Seigne a écrit :
>> Hello,
>> here is a strange bug with Qt 5.3 alpha:
>>
>> E/Qt ( 4351): Can't create main activity
>>
>> E/Qt ( 4351): java.io.FileNotFoundException:
>> /data/data/com.ryxeo.abuledu.abuledu_zandet1/lib/lib--Managed_by_Qt_Creator--plugins_platforms_android_libqtforandroid.so:
>> open failed: ENOENT (No such file or directory)
>>
>>
>> and
>>
>> D/dalvikvm( 4410): Trying to load lib
>> /data/data/com.ryxeo.abuledu.abuledu_zandet1/qt-reserved-files/plugins/platforms/android/libqtforandroid.so
>> 0x419b8420
>> E/dalvikvm( 4410):
>> dlopen("/data/data/com.ryxeo.abuledu.abuledu_zandet1/qt-reserved-files/plugins/platforms/android/libqtforandroid.so")
>> failed: dlopen failed:
>> "/data/data/com.ryxeo.abuledu.abuledu_zandet1/qt-reserved-files/plugins/platforms/android/libqtforandroid.so"
>> is too small to be an ELF executable
>>
>> but if i copy android/libqtforandroid.so manually with adb:
>>
>> adb push
>> ./android-build/libs/armeabi-v7a/libplugins_platforms_android_libqtforandroid.so
>> /sdcard/
>>
>> then with root rights on tablet
>>
>> cp /sdcard/libqtforandroid.so
>> /data/data/com.ryxeo.abuledu.abuledu_zandet1/qt-reserved-files/plugins/platforms/android/libqtforandroid.so
>>
>> my application works ...
>>
>> so, what could i do to track this error and help Qt Devs if it's a
>> bug ? libqtforandroid.so in in APK file, with right size ...
>>
>> Thanks,
>> Éric
>
>
>
> _______________________________________________
> Android-development mailing list
> Android-development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/android-development
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/android-development/attachments/20140315/8924b6bb/attachment.html>
More information about the Android-development
mailing list