Question: how to ndk build in android studio?
Answer: With a project open, click Tools > SDK Manager. Click the SDK Tools tab. Select the NDK (Side by side) and CMake checkboxes. ...  Click OK. ...  Click OK. When the installation is complete, click Finish.