Re: Debug as Android Native Application

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: Debug as Android Native Application

Julian Liebl
Same problem here. Everything works except Debug Android Native...

Am Dienstag, 14. August 2012 21:25:55 UTC+2 schrieb n.s:
hi Dave...
Are u sure you compiled it with debug info ?
Suggest you work frm command line:

ant clean debug

and then see what happens when you use adb to debug...

Hope that helps...

Regards,

Nalin

On 8/14/12, denoted <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="fhjIKpqdprYJ">da...@...> wrote:

> Hi,
>
> I am making my first attempt at debugging a native application using the
> new features of ADT 20.  I can build and run my simple application fine for
>
> my device.  When I try to debug my app as a native application (Right Click
>
> -> Debug as -> Native Android Application), the app will build and then I
> get the following output:
>
>
>
>
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest] Android
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest] NDK:
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest] jni/Android.mk:
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest] Cannot
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest] find
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest] module
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest] with
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest] tag
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest] 'CocosDenshion/android'
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest] in
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest] import
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest] path
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest]
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest]
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest]
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest]
> Android
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest] NDK:
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest] Are
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest] you
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest] sure
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest] your
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest] NDK_MODULE_PATH
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest] variable
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest] is
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest] properly
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest] defined
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest] ?
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest]
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest]
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest]
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest]
> Android
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest] NDK:
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest] The
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest] following
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest] directories
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest] were
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest] searched:
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest]
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest]
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest]
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest]
> Android
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unknown Application ABI:
> [2012-08-13 17:16:53 - com.liv.test.livtest] NDK:
> [2012-08-13 17:16:53 - com.liv.test.livtest] Unable to detect application
> ABI's
>
>
> If you look at that output it is pretty confusing.  The first question is:
> what command is being run to build/run when trying to debug as a native
> android application?  I ask this because when I do a normal build and run
> my NDK_MODULE_PATH is set my build script, but from the output above you
> can see it is not set.  The second question: what is producing the error
> indicating 'Unknown Application ABI', and why would it be produced?
>
> Eclipse Version: 4.2.0, Build id: I20120608-1400
> CDT Version: 8.1.0.201206111645
> ADT Version: 20.0.3.v201208082019-427395
> NDK: r8b
>
> Thanks,
> Dave
>
> --
> You received this message because you are subscribed to the Google Groups
> "android-ndk" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/android-ndk/-/U3CjKrPTexIJ.
> To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="fhjIKpqdprYJ">andro...@....
> To unsubscribe from this group, send email to
> <a href="javascript:" target="_blank" gdf-obfuscated-mailto="fhjIKpqdprYJ">android-ndk...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/android-ndk?hl=en.
>
>

--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-ndk/-/XH84unGipIEJ.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.