如何为Android Studio配置NDK [英] How to configure NDK for Android Studio

查看:620
本文介绍了如何为Android Studio配置NDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了Android Studio 2.2.3,并使用include C++ support创建了一个"myApplication". 我收到此错误:

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

错误:未配置NDK.
使用SDK管理器下载.)

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

请问有什么好办法解决吗?

Is there any good way to solve it please?

推荐答案

下载了NDK后,转到文件"菜单,然后单击项目结构-> SDK位置",然后设置Android NDK位置(位于窗口底部).

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).

这篇关于如何为Android Studio配置NDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆