HOWEVER
you can build release native libraries and call them from a debug apk
however the debug apk will NOT debug the release native libraries as they contain no debug info and have been optimized
(eg you may or may not be able to step into native code reliably depending on debugger capability)