java.lang.UnsatisfiedLinkError: dlopen failed: could not load library "libQt5Qml.so"
Solved
Mobile and Embedded
-
Hi developers, I get the following error when trying to load shared library in Android
java.lang.UnsatisfiedLinkError: dlopen failed: could not load library "libQt5Qml.so" needed by "libMyLibrary.so"; caused by could not load library "libQt5Network.so" needed by "libQt5Qml.so"; caused by cannot locate symbol "_ZN7QStringaSE13QLatin1String" referenced by "libQt5Network.so"...
Notice : I compile a qt project using Android Studio and the ndk kit.
The compilation works but got this error when calling :
System.loadLibrary("Qt5Core");
System.loadLibrary("Qt5Network");
System.loadLibrary("Qt5Qml");
System.loadLibrary("MyLibrary");
System.loadLibrary("gnustl_shared");Cheers