I am looking for the best way to debug a large project I'm working on with a very large NDK kernel. The NDK code consists of a large static C / C ++ library that is built and then linked through the NDK code to the main android application. Part of the NDK project itself is also in the android library project. So, in total, these are three projects (Android → NDK glue project → Native C lib)
I understand that NDK debugging does not work well (or does not work at all) when trying to interact with a library project. I suspect that I could combine the NDK brand code project with the main android project with relatively little pain, but the big problem is the C / C ++ project, which contains the core of the project.
Is there a possible way to combine the C / C ++ project and the NDK project for Android without rewriting the build / make scripts for the C ++ / C project?
The current build scripts for the static library are quite complex and it will probably be quite difficult to convert the Android.mk files.
Are there any better ways to do this that I have not considered?
source share