How can i debug jni code of my android application in idea?
I've built jni code with ndk-build and flag -NDK_DEBUG=1, but this didn't helped. Idea didn't fall in my breakpoints in c++ code.
I also tried to create "Remote" debug with default params and run it. But nothing happened.
Can anyone help ? Step by step manual or something would be very helpfull.
I don't think IntelliJ supports C++ development, so you cannot debug your C code inside IntelliJ as far as I know. It would be great if it did though... You can set up some debugging environmnet for jni in eclipse, but it's quite complicated.
According to a reference here the setup in eclipse is described in detail (for example) in Android NDK Beginner's Guide
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.