[Android-development] multimedia

Harri Pasanen harri at mpaja.com
Mon Sep 29 12:18:38 CEST 2014


Sorry for the late reply on this, I got distracted by other stuff...

Returning to this, it seems again /data/local/tmp dependent.

Cleaning tmp dir makes no difference, it always fails.

But if I bundle all together, it works.

Harri


On 18/09/2014 19:01, Stromme Christian wrote:
> On 18 Sep 2014, at 17:46 , Harri Pasanen <harri at mpaja.com> wrote:
>
>> Hi,
>>
>> Is multimedia supposed to work on Android?
> Yes
>
>> I'm trying to use QSoundEffect from C++, which results in following at startup.
>>
>>
>> E/dalvikvm(29296):
>>          dlopen("/data/local/tmp/qt/lib/libQt5MultimediaQuick_p.so")
>>          failed: dlopen failed: could not load library "libQt5Quick.so"
>>          needed by "libQt5MultimediaQuick_p.so"; caused by library
>>          "libQt5Quick.so" not found
>>
>> W/System.err(29296):
>>          java.lang.reflect.InvocationTargetException
>>
>>
> I suspect you have some old Qt files on you devices, try removing the old temp. libs on your device (under your project’s: “Run Settings”->”Clean Temporary Libraries…" in Qt Creator).
>
>> Note that this app is C++ only, no QML/javascript.
>>
>> On linux desktop it runs without complaints (although the sound does not play, but that's another issue.)
>>
>>
>> Harri
>>
>>
>> _______________________________________________
>> Android-development mailing list
>> Android-development at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/android-development




More information about the Android-development mailing list