Skip to content Skip to sidebar Skip to footer

Ndk-gdb Fails With Message: Invalid Attribute Name: Package

Connect Nexus One to Mac running Snow Leopard. Run 'debug' from Eclipse. Shows the execution of /usr/local/android-ndk-r5b/ndk-build NDK_DEBUG=1 Loads on Nexus One fine. Then I

Solution 1:

The AndroidManifest.xml file had Windows carriage control (\r\n) which was messing up the ndk-gdb script. To fix this, I edited the file in vi and did a "set filetype=unix".

Solution 2:

Another workaround is to push libs/armeabi/gdbserver to /data/data/your.pkg/lib on a rooted device.

Post a Comment for "Ndk-gdb Fails With Message: Invalid Attribute Name: Package"