My workspace layout is:
.
├── ApplicationLibrary
│ ├── AndroidManifest.xml
│ ├── ...
│ ├── jni
│ ├── libs
│ ├── ...
│ └── src
└── Application
├── AndroidManifest.xml
├── ant.properties
└── ...
How can I debug the native library in Eclipse? Has anyone some hint about this?
I was able to set breakpoints and debug native code in an android library on eclipse by adding the directory of the unstripped shared library/libraries to the debugger in the debug configurations dialog:
That seemed to work for me. Hopefully, you'll have the same luck...
Peace
It is possible:
Update your build config to include “NDK_DEBUG = 1”. Right click project -> properties -> C/C++ Build:
Set a breakpoint in your C code.
Right click on your project, select Debug As -> Android Native Application
For more details follow:
http://tools.android.com/recent/usingthendkplugin
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With