ndk{ //set module name moduleName "myLib" //set lib stl "gnustl_static" //add -fexceptions to allow throw error cFlags "-fexceptions" }