Android报错:JNI/NDK相关"Download the NDK from http://developer.android.com/tools/sdk/ndk/."
2016-10-11 19:27
387 查看
错误:
Error:Execution failed for task ':vLCDemo:compileDebugNdk'.
> NDK not configured.
Download the NDK from http://developer.android.com/tools/sdk/ndk/.Then add ndk.dir=path/to/ndk in local.properties.
(On Windows, make sure you escape backslashes, e.g. C:\\ndk rather than C:\ndk)
解决方法:
下载并安装NDK
然后按着下图的顺序,选择你的项目,然后将NDK的路径设置上
Error:Execution failed for task ':vLCDemo:compileDebugNdk'.
> NDK not configured.
Download the NDK from http://developer.android.com/tools/sdk/ndk/.Then add ndk.dir=path/to/ndk in local.properties.
(On Windows, make sure you escape backslashes, e.g. C:\\ndk rather than C:\ndk)
解决方法:
下载并安装NDK
然后按着下图的顺序,选择你的项目,然后将NDK的路径设置上
相关文章推荐
- 关于什么是:xmlns:tools="http://schemas.android.com/tools"
- xmlns:tools="http://schemas.android.com/tools"以及tools:context=".ConfActivity"是什么意思
- xmlns:fresco="http://schemas.android.com/tools" 引发的问题
- Exploring the SDK-From developer.android.com
- xmlns:tools="http://schemas.android.com/tools"以及tools:context=".ConfActivity"是什么意思
- Android xml tools 用法 xmlns:tools="http://schemas.android.com/tools"
- xmlns:android="http://schemas.android.com/apk/res/android的意思
- Android layout個別屬性的區別[摘 from:http://www.cnblogs.com/playing/archive/2011/04/07/2008620.html]
- Android -Cannot run program "XXX/sdk/tools/emulator": error=2, No such file or directory
- 添加xmlns:android="http://schemas.android.com/apk/res/android"的意思
- android--SDK Manager下载Connection to http://dl-ssl.google.com refused
- 更新SDK失败解决办法(Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml)
- android ubuntu jni so 报错Java_com_gcx_ndkjni_HelloNdkJni_stringFromNDKJNI
- xmlns:android="http://schemas.android.com/apk/res/android的作用是
- Key Layout Files from http://source.android.com
- 解决错误 'Cannot run program "/home/***/android-sdk-linux/platform-tools/adb": error=2
- android ubuntu jni so 报错Java_com_gcx_ndkjni_HelloNdkJni_stringFromNDKJNI
- xmlns:android="http://schemas.android.com/apk/res/android的作用是
- 安卓创建新工程时的几个选项的说明(http://developer.android.com/)
- eclipse配置SDK时一直出现连接不上http://dl-ssl.google.com/android/eclipse/