[Android-development] Trying to debug crash in Qt App on Android

David Marceau uticdmarceau2007 at yahoo.ca
Mon Feb 24 22:59:06 CET 2014


On 02/24/2014 04:45 PM, Eric Feigenson wrote:
> I’m trying to debug my first Qt Android, which seems to be crashing with this stack: http://feigenson.net/ForumUploads/AndroidCrashStack1.txt
> 
> And this: http://feigenson.net/ForumUploads/AndroidCrashStack2.txt appears in the “Application Output” window:
> 
> Running from Mac OS 10.8.5 in the Android emulator (AVD_for_Galaxy_Nexus_by_Google), Qt Creator 3.0.1, Qt 5.2.2
Anything 3D graphics related never works in the Android emulator.  You
should probably read the docs as to what the does and does not support.

I truly suggest you simply debug straight from your device when it's
connected to your MAC via USB.  You will still receive debug log
messages and you can add your own at places you know you are having
trouble at.

My other advice is take an already existing opengles androidqt sample
app and use that as a reference point to get your feet wet.  That will
save you some time.  Also grab the ndk kit.  There is one sample in
there that has a rotating globe (opengles) in it...It's called
NativeHello or NativeActivity something like that.

Cheers,
David.
> 
> I've never debugged an Android app, let alone a Qt-on-Android app
> I don’t really know how to interpret this. Can anyone give some advice? Pointers to doc? Read some tea-leaves?
> 
> Thanks!
> 
> -Eric
> 
> 
> 
> _______________________________________________
> 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