I'm using NDK version 10D and a Nexus 9 tablet.
I compile my .so with ndk-build NDK_DEBUG=1. It creates a good .so, gdb.setup and gdbserver in my ./libs/arm64-v8a/ directory. When i try and run ndk-gdb --verbose it chugs along but eventually disconnects and i see this error in the output.
"run-as: exec failed for /data/local/tmp/gdbserver Error:Permission denied"
My device is a stock device. I have not rooted it. Is rooting a device now a required operation to run a debugger?!
Thanks,
Chris