Android : 'No JNI_OnLoad found' and much more



  • Hi,
    Ubuntu 12.04 LTS
    Qt 5.1.0/Qtcreator2.7.2
    Just trying a QtQuick standard example (new project, qtquick etc.).
    settings:
    -'deploy local qt libs/use local qt libs'
    -'INSTALL_ROOT="/home/wim/qt/android2/android" install'
    -api17/armeabi-v7a
    AVD based on Nexus 7 .
    Runs fine on the Nexus7 itself, but trying to deploy/run it on the AVD I get:
    @Starting remote process.D/dalvikvm( 1665): DexOpt: --- BEGIN 'QtAndroid.jar' (bootstrap=0) ---
    D/dalvikvm( 1665): DexOpt: --- END 'QtAndroid.jar' (success) ---
    D/dalvikvm( 1665): DEX prep '/data/local/tmp/qt/jar/QtAndroid.jar': unzip in 16ms, rewrite 422ms
    D/dalvikvm( 1665): Trying to load lib /data/local/tmp/qt/lib/libgnustl_shared.so 0x40cee038
    D/dalvikvm( 1665): Added shared lib /data/local/tmp/qt/lib/libgnustl_shared.so 0x40cee038
    D/dalvikvm( 1665): No JNI_OnLoad found in /data/local/tmp/qt/lib/libgnustl_shared.so 0x40cee038, skipping init
    D/dalvikvm( 1665): Trying to load lib /data/local/tmp/qt/lib/libQt5Core.so 0x40cee038
    D/dalvikvm( 1665): Added shared lib /data/local/tmp/qt/lib/libQt5Core.so 0x40cee038
    D/dalvikvm( 1665): No JNI_OnLoad found in /data/local/tmp/qt/lib/libQt5Core.so 0x40cee038, skipping init
    D/dalvikvm( 1665): Trying to load lib /data/local/tmp/qt/lib/libQt5V8.so 0x40cee038
    D/dalvikvm( 1665): Added shared lib /data/local/tmp/qt/lib/libQt5V8.so 0x40cee038
    D/dalvikvm( 1665): No JNI_OnLoad found in /data/local/tmp/qt/lib/libQt5V8.so 0x40cee038, skipping init
    D/dalvikvm( 1665): Trying to load lib /data/local/tmp/qt/lib/libQt5Gui.so 0x40cee038
    D/dalvikvm( 1665): Added shared lib /data/local/tmp/qt/lib/libQt5Gui.so 0x40cee038
    D/dalvikvm( 1665): No JNI_OnLoad found in /data/local/tmp/qt/lib/libQt5Gui.so 0x40cee038, skipping init@
    Thanks.



  • Forget about the AVD and Qt. They wont correctly work together. I never liked the AVD, since its lacking some important features, like proper opengl ES support and other stuff.



  • Ok.
    Thanks.
    I'll just plugin my nexus7.


Log in to reply
 

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