[Qt-creator] Android "this does not seem to be a debug build"
Jason H
scorp1us at yahoo.com
Wed Feb 19 16:18:20 CET 2014
But I want to debug it.
A few times, I got this output, which is what I want to see. When the I don't get the dialog, I get the output. When I get the dialog, I don't. I didn't change any settings. Its a "sometimes" it works thing.
Starting remote process.D/dalvikvm(27320): DexOpt: --- BEGIN 'QtAndroidAccessibility.jar' (bootstrap=0) ---
D/dalvikvm(27320): DexOpt: --- END 'QtAndroidAccessibility.jar' (success) ---
D/dalvikvm(27320): DEX prep '/data/local/tmp/qt/jar/QtAndroidAccessibility.jar': unzip in 0ms, rewrite 63ms
I/dalvikvm(27320): Zip is good, but no classes.dex inside, and no valid .odex file in the same directory
I/dalvikvm(27320): Zip is good, but no classes.dex inside, and no valid .odex file in the same directory
D/dalvikvm(27320): DexOpt: --- BEGIN 'QtMultimedia.jar' (bootstrap=0) ---
D/dalvikvm(27320): DexOpt: --- END 'QtMultimedia.jar' (success) ---
D/dalvikvm(27320): DEX prep '/data/local/tmp/qt/jar/QtMultimedia.jar': unzip in 0ms, rewrite 72ms
I/dalvikvm(27320): Zip is good, but no classes.dex inside, and no valid .odex file in the same directory
D/dalvikvm(27320): Trying to load lib /data/local/tmp/qt/lib/libgnustl_shared.so 0x425bf9b0
D/ (27320): calling hookDlopen()!
D/ (27320): calling hookCheckABI2Header()!
D/ (27320): calling houdiniHookInit()!
D/houdini (27320): [27320] Loading library(version: 3.3.3.43422 RELEASE)... successfully.
D/dalvikvm(27320): Added shared lib /data/local/tmp/qt/lib/libgnustl_shared.so 0x425bf9b0
D/dalvikvm(27320): No JNI_OnLoad found in /data/local/tmp/qt/lib/libgnustl_shared.so 0x425bf9b0, skipping init
D/dalvikvm(27320): Trying to load lib /data/local/tmp/qt/lib/libQt5Core.so 0x425bf9b0
D/ (27320): calling hookDlopen()!
D/ (27320): calling hookCheckABI2Header()!
D/ (27320): calling houdiniHookInit()!
D/dalvikvm(27320): Added shared lib /data/local/tmp/qt/lib/libQt5Core.so 0x425bf9b0
D/ (27320): calling hookJniOnload()!
D/dalvikvm(27320): Trying to load lib /data/local/tmp/qt/lib/libQt5Network.so 0x425bf9b0
D/ (27320): calling hookDlopen()!
D/ (27320): calling hookCheckABI2Header()!
D/ (27320): calling houdiniHookInit()!
D/dalvikvm(27320): Added shared lib /data/local/tmp/qt/lib/libQt5Network.so 0x425bf9b0
D/ (27320): calling hookJniOnload()!
I/Qt (27320): Network start
D/dalvikvm(27320): Trying to load lib /data/local/tmp/qt/lib/libQt5Qml.so 0x425bf9b0
D/ (27320): calling hookDlopen()!
D/ (27320): calling hookCheckABI2Header()!
D/ (27320): calling houdiniHookInit()!
D/dalvikvm(27320): Added shared lib /data/local/tmp/qt/lib/libQt5Qml.so 0x425bf9b0
D/dalvikvm(27320): No JNI_OnLoad found in /data/local/tmp/qt/lib/libQt5Qml.so 0x425bf9b0, skipping init
D/dalvikvm(27320): Trying to load lib /data/local/tmp/qt/lib/libQt5Gui.so 0x425bf9b0
D/ (27320): calling hookDlopen()!
D/ (27320): calling hookCheckABI2Header()!
D/ (27320): calling houdiniHookInit()!
D/dalvikvm(27320): Added shared lib /data/local/tmp/qt/lib/libQt5Gui.so 0x425bf9b0
D/dalvikvm(27320): No JNI_OnLoad found in /data/local/tmp/qt/lib/libQt5Gui.so 0x425bf9b0, skipping init
D/dalvikvm(27320): Trying to load lib /data/local/tmp/qt/lib/libQt5Quick.so 0x425bf9b0
D/ (27320): calling hookDlopen()!
D/ (27320): calling hookCheckABI2Header()!
D/ (27320): calling houdiniHookInit()!
D/dalvikvm(27320): Added shared lib /data/local/tmp/qt/lib/libQt5Quick.so 0x425bf9b0
D/dalvikvm(27320): No JNI_OnLoad found in /data/local/tmp/qt/lib/libQt5Quick.so 0x425bf9b0, skipping init
D/dalvikvm(27320): Trying to load lib /data/local/tmp/qt/lib/libQt5QuickParticles.so 0x425bf9b0
D/ (27320): calling hookDlopen()!
D/ (27320): calling hookCheckABI2Header()!
D/ (27320): calling houdiniHookInit()!
D/dalvikvm(27320): Added shared lib /data/local/tmp/qt/lib/libQt5QuickParticles.so 0x425bf9b0
D/dalvikvm(27320): No JNI_OnLoad found in /data/local/tmp/qt/lib/libQt5QuickParticles.so 0x425bf9b0, skipping init
D/dalvikvm(27320): Trying to load lib /data/local/tmp/qt/lib/libQt5Multimedia.so 0x425bf9b0
D/ (27320): calling hookDlopen()!
D/ (27320): calling hookCheckABI2Header()!
D/ (27320): calling houdiniHookInit()!
D/dalvikvm(27320): Added shared lib /data/local/tmp/qt/lib/libQt5Multimedia.so 0x425bf9b0
D/dalvikvm(27320): No JNI_OnLoad found in /data/local/tmp/qt/lib/libQt5Multimedia.so 0x425bf9b0, skipping init
D/dalvikvm(27320): Trying to load lib /data/local/tmp/qt/lib/libQt5MultimediaQuick_p.so 0x425bf9b0
D/ (27320): calling hookDlopen()!
D/ (27320): calling hookCheckABI2Header()!
D/ (27320): calling houdiniHookInit()!
D/dalvikvm(27320): Added shared lib /data/local/tmp/qt/lib/libQt5MultimediaQuick_p.so 0x425bf9b0
D/dalvikvm(27320): No JNI_OnLoad found in /data/local/tmp/qt/lib/libQt5MultimediaQuick_p.so 0x425bf9b0, skipping init
D/dalvikvm(27320): Trying to load lib /data/local/tmp/qt/plugins/platforms/android/libqtforandroidGL.so 0x425bf9b0
D/ (27320): calling hookDlopen()!
D/ (27320): calling hookCheckABI2Header()!
D/ (27320): calling houdiniHookInit()!
D/dalvikvm(27320): Added shared lib /data/local/tmp/qt/plugins/platforms/android/libqtforandroidGL.so 0x425bf9b0
D/ (27320): calling hookJniOnload()!
I/Qt (27320): qt start
D/dalvikvm(27320): Trying to load lib /data/local/tmp/qt/lib/libQt5QuickParticles.so 0x425bf9b0
D/dalvikvm(27320): Shared lib '/data/local/tmp/qt/lib/libQt5QuickParticles.so' already loaded in same CL 0x425bf9b0
D/dalvikvm(27320): Trying to load lib /data/local/tmp/qt/plugins/mediaservice/libqtmedia_android.so 0x425bf9b0
D/ (27320): calling hookDlopen()!
D/ (27320): calling hookCheckABI2Header()!
D/ (27320): calling houdiniHookInit()!
D/dalvikvm(27320): Added shared lib /data/local/tmp/qt/plugins/mediaservice/libqtmedia_android.so 0x425bf9b0
D/ (27320): calling hookJniOnload()!
D/dalvikvm(27320): Trying to load lib /data/local/tmp/qt/lib/libQt5MultimediaQuick_p.so 0x425bf9b0
D/dalvikvm(27320): Shared lib '/data/local/tmp/qt/lib/libQt5MultimediaQuick_p.so' already loaded in same CL 0x425bf9b0
D/dalvikvm(27320): Trying to load lib /data/app-lib/org.iMagicLab.vinscan-1/libzbarjni.so 0x425bf9b0
D/ (27320): calling hookDlopen()!
D/ (27320): calling hookCheckABI2Header()!
E/dalvikvm(27320): dlopen("/data/app-lib/org.iMagicLab.vinscan-1/libzbarjni.so") failed: Cannot load library: soinfo_link_image(linker.cpp:1635): could not load library "libiconv.so" needed by "libzbarjni.so"; caused by load_library(linker.cpp:745): library "libiconv.so" not found
W/System.err(27320): java.lang.reflect.InvocationTargetException
W/System.err(27320): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err(27320): at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err(27320): at org.qtproject.qt5.android.bindings.QtActivity.loadApplication(QtActivity.java:232)
W/System.err(27320): at org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:629)
W/System.err(27320): at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:858)
W/System.err(27320): at android.app.Activity.performCreate(Activity.java:5267)
W/System.err(27320): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1097)
W/System.err(27320): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2209)
W/System.err(27320): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2295)
W/System.err(27320): at android.app.ActivityThread.access$700(ActivityThread.java:150)
W/System.err(27320): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1280)
W/System.err(27320): at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err(27320): at android.os.Looper.loop(Looper.java:176)
W/System.err(27320): at android.app.ActivityThread.main(ActivityThread.java:5279)
W/System.err(27320): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err(27320): at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err(27320): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
W/System.err(27320): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
W/System.err(27320): at dalvik.system.NativeStart.main(Native Method)
W/System.err(27320): Caused by: java.lang.UnsatisfiedLinkError: Cannot load library: soinfo_link_image(linker.cpp:1635): could not load library "libiconv.so" needed by "libzbarjni.so"; caused by load_library(linker.cpp:745): library "libiconv.so" not found
W/System.err(27320): at java.lang.Runtime.load(Runtime.java:340)
W/System.err(27320): at java.lang.System.load(System.java:521)
W/System.err(27320): at org.qtproject.qt5.android.QtNative.loadBundledLibraries(QtNative.java:150)
W/System.err(27320): at org.qtproject.qt5.android.QtActivityDelegate.loadApplication(QtActivityDelegate.java:410)
W/System.err(27320): ... 19 more
W/ResourceType(27320): Failure getting entry for 0x01080a04 (t=7 e=2564) in package 0 (error -75)
D/libEGL (27320): loaded /vendor/lib/egl/libEGL_POWERVR_SGX544_115.so
D/libEGL (27320): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX544_115.so
D/libEGL (27320): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX544_115.so
D/OpenGLRenderer(27320): Enabling debug mode 0
E/ViewRootImpl(27320): sendUserActionEvent() mView == null
----- Original Message -----
From: BogDan <bog_dan_ro at yahoo.com>
To: Jason H <scorp1us at yahoo.com>; "qt-creator at qt-project.org" <qt-creator at qt-project.org>
Cc:
Sent: Wednesday, February 19, 2014 9:50 AM
Subject: Re: [Qt-creator] Android "this does not seem to be a debug build"
Hi,
I know isn't a release build! When you hit debug button, QTC downloads an application from your device that will be used as your "main entry" application, the problem is that that application doesn't have any debug information and you'll get the warning, so, trust me, uncheck that option and you not be annoyed by QTC anymore :) !
Cheers,
BogDan.
>
>
>But this isn't a release build.
>
>
>Under the little android guy it says "debug" and two buttons below, with the blue bug over the play icon is what I am clicking on. Hence my issue.
>
>
>Why would it not be a debug build?
>
>
>
>________________________________
> From: BogDan <bog_dan_ro at yahoo.com>
>To: Jason H <scorp1us at yahoo.com>; "qt-creator at qt-project.org" <qt-creator at qt-project.org>
>Sent: Wednesday, February 19, 2014 2:17 AM
>Subject: Re: [Qt-creator] Android "this does not seem to be a debug build"
>
>
>Hi,
>
>
> You need to uncheck *Warn when debugging “Release” builds*.
>Check: http://www.kdab.com/qt-on-android-episode-2/
>
>Cheers,
>BogDan.
>
>
>
>>
>>I know it is a debug build, but it says the following sections are not found:
>>.debug_info
>>.debug_abbrev
>>.debug_line
>>.debug_str
>>.debug_loc
>>.debug_range
>>.gdb_index
>>.note.gnu.build-id
>>.gnu.hash
>>.gnu_debuglink
>>
>>
>>QtCreator built the binary when I clocked on the debug icon. I tried 2 devices.
>>
>>
>>Any ideas?
>>
>>
>>_______________________________________________
>>Qt-creator mailing list
>>Qt-creator at qt-project.org
>>http://lists.qt-project.org/mailman/listinfo/qt-creator
>>
>>
>>
>
>
>
>
More information about the Qt-creator
mailing list