If not, you need to run ndk-build again. You may even need to run
"ndk-build clean" first, and then ndk-build.
ndk-build looks at the "debuggable" attribute in the XML to determine
how to build the binary, and whether to include gdbserver.
Tim
Hmm...I'm going to suggest a clean build from Eclipse AFTER you right
click on the project and select "Refresh" (or however you would do a
clean build the Java side).
It sounds like the project has the data directory locked, which happens
to applications built for release.
The other possibility is that the device is somehow broken wrt debugging
-- have you ever managed to get ndk-gdb to work on this device? Have you
tried another device? What device is it?
Tim
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.
When trying run-as with my com.game package, I get a 'com.game is
unknown' response. When you mentioned the package name, I thought
about a posted issue on the android svn here:
http://code.google.com/p/android/issues/detail?id=13965 . A few of
these folks had mentioned issues with package names (relating to the
number of levels). To test my application package, I duplicated my
project, and renamed the package to com.game2, rebuilt with the ndk
and compiled, and I was able to attach gdb to my application
correctly. Also... executing run-as with this new package responds
with '/data/data/com.game2', as I'm assuming it should? I refuse to
believe that the issue is related to the number of levels in the
package name, or anything relating to the actual package name, but
more likely some system cached settings on the device.
Hi, I am getting the same bug using android ndk-r7
Yassine