How to get NDK debugging to work in Android Studio?
In Run->Debug Configuration "Debugger" tab, choose Debug type as "Native". In the field of "Before launch", if Android studio reports conflicts, accept the recommendation for 'fix' it. Android studio will download lldb library.
click on the 'debug' bottom and wait until debugger attached to the process.
now you can see the variables in the debug windown.
With LLDB installed, one has native / dual debugging available.