How to configure NDK for Android Studio

2020-06-01 08:30发布

问题:

I've installed Android Studio 2.2.3 and created a "myApplication" with include C++ support. I get this error:

Error:NDK not configured.
Download it with SDK manager.)

Is there any good way to solve it please?

回答1:

Once you have downloaded the NDK, go to "File" menu, than "Project Structure->SDK Location" and set the Android NDK Location (it is at the bottom of the window).