Qt5.1beta android "findLibrary returned null"



  • Hello.
    Build - ok. Install in AVD - ok.Run-error.
    [code]
    .....
    D/AndroidRuntime( 799): Shutting down VM
    W/dalvikvm( 799): threadid=1: thread exiting with uncaught exception (group=0x40a71930)
    E/AndroidRuntime( 799): FATAL EXCEPTION: main
    E/AndroidRuntime( 799): java.lang.UnsatisfiedLinkError: Couldn't load simple3 from loader dalvik.system.PathClassLoader[dexPath=/data/app/org.qtproject.example.simple3-1.apk,libraryPath=/data/app-lib/org.qtproject.example.simple3-1]: findLibrary returned null
    E/AndroidRuntime( 799): at java.lang.Runtime.loadLibrary(Runtime.java:365)
    E/AndroidRuntime( 799): at java.lang.System.loadLibrary(System.java:535)
    E/AndroidRuntime( 799): at org.qtproject.qt5.android.bindings.QtActivity.loadApplication(QtActivity.java:207)
    ...........
    [/code]
    Libraries are installed on the device:
    [code]
    root@android:/ # cd /data/data/org.qtproject.example.simple34/lib
    root@android:/data/data/org.qtproject.example.simple34/lib # ls
    gdbserver
    lib--Managed_by_Qt_Creator--plugins_accessible_libqtaccessiblequick.so
    lib--Managed_by_Qt_Creator--plugins_accessible_libqtaccessiblewidgets.so
    ............
    lib--Managed_by_Qt_Creator--qml_Qt_labs_folderlistmodel_libqmlfolderlistmodelplugin.so
    libQt5Core.so
    libQt5Gui.so
    .............
    [/code]

    Thanks.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.