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

查看:41
本文介绍了如何为 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 管理器下载.)

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

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天全站免登陆