Annoying error when starting from Necessitas

59 views
Skip to first unread message

Willy Gardiol

unread,
May 15, 2013, 8:26:48 AM5/15/13
to andro...@googlegroups.com

Hallo
if i run my app trough necessitas qt creator (run icon, on release
build) it does not work.

What happens is:
1- app get's build, APK get's created
2- apk gets installed on the phone or emulator
3- app start, i can see the green Qt logo, then...

4- "you application has encountered a fatal error and cannot continue"
(or similar message, it's in italian)

5- on the Qt log i see the following error:
"java.lang.ClassNotFoundException:
org.kde.necessitas.industrious.QtActivityDelegate"

BUT, if i just close the app and start again, this time by clicking on
the icon on the phone... IT WORKS!

This makes debugging impossible, so, do anybody have any ideas?


--
Willy Gardiol
wi...@gardiol.org
www.gardiol.org
www.trackaway.org -> Track YOUR way the way you want!

tomasl

unread,
May 16, 2013, 4:20:13 AM5/16/13
to andro...@googlegroups.com
Hi Willy, 

I've seen this only on some devices. My Android 4.X devices have this problem, and my 2.3.X devices work fine. I've seen this using Necessitas both on Windows and Linux, but don't know what it's caused by. In my case, it happens when I press the debug button (F5) using debug build. Please see attached image with error messages. 

TomasL
debugging.PNG

Willy Gardiol

unread,
May 16, 2013, 4:49:52 AM5/16/13
to andro...@googlegroups.com

I managed to fix the issue at least for run by uncjecing "use local
libs" under deply. Unfrotuntelt debug is clearly broken.

it's very annoying, but i found no ways to make it work on JB (4.1.2)
>> www.gardiol.org [1]
>> www.trackaway.org [2] -> Track YOUR way the way you want!
>
> --
> You received this message because you are subscribed to the Google
> Groups "android-qt" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to android-qt+...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out
> [3].
>
>
>
> Links:
> ------
> [1] http://www.gardiol.org
> [2] http://www.trackaway.org
> [3] https://groups.google.com/groups/opt_out

Sebastian Diel

unread,
May 16, 2013, 12:08:20 PM5/16/13
to andro...@googlegroups.com
Hi again,

any hints about my debugging problem?

Problem 1: limited debugging with SGS2 (2.3.4)
(see below)
Problem 2: no debugging on my Nexus 10 (4.2.2)
(after deployment & run: "Connecting to remote server failed: putpkt: write failed: Invalid argument")
Both devices are shown by adb devices, of course.

Sebastian

-------- Original-Nachricht --------
Betreff: No segment defined / Could not load shared library
Datum: Wed, 27 Mar 2013 18:04:48 +0100

Hi,

with my Galaxy S2 (Android 2.3) I can do some debugging
 (not so with my Nexus 10, Android 4.2.2), but I recieve an
error message, which apparently states the reason why I
can't look into many Qt classes' codes.

Only I really don't get what I can do about it. I am working
on a WinXP VM.

<snip>-------------------------8<----------------------------------------------------------
while parsing target library list (at line 2): No segment defined for 
/system/bin/linker
.dynamic section for 
"C:/necessitas/Android/Qt/482/armeabi/lib/libQtGui.so" is not at the 
expected address (wrong library or version mismatch?)
Could not load shared library symbols for 80 libraries, e.g. 
/system/bin/linker.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?Unable to find 
dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
<snap>------------------------->8----------------------------------------------------------

My Windows doesn't know an "info" command nor does
"set solib-search-path" ring any bell to me.

What is this about? Is there anything I can do?

Best regards,
Sebastian

-- 
You received this message because you are subscribed to the Google Groups "android-qt" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-qt+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.





--
You received this message because you are subscribed to the Google Groups "android-qt" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-qt+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

me-KO

unread,
May 28, 2013, 5:32:36 PM5/28/13
to andro...@googlegroups.com
Same here: I have Galaxy Note 2 with 4.1 installed. I can run the app from my phone but debugging is impossible
 

Op woensdag 15 mei 2013 14:26:48 UTC+2 schreef Willy Gardiol het volgende:
Reply all
Reply to author
Forward
0 new messages