2016-09-20 42 views
1

我在Windows 32位中遇到了这种错误。如何在Windows中设置NDK环境变量?

"C:\\Users\\NDK\\android-ndk-r12b\\ndk-build.cmd" all 
Android NDK: jni/Android.mk: Cannot find module with tag 'cpufeatures' in import path  
jni/Android.mk:46: *** Android NDK: Aborting. . Stop. 
Android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined ?  
Android NDK: The following directories were searched:  
Android NDK: 

如何解决它?

+0

File-> ProjectStructure-> NDKLocation –

回答

0

执行以下操作,希望它有助于:

1右键单击我的电脑,选择属性,或按视窗+ Break: enter image description here

2 - 选择高级系统设置,然后环境变量: enter image description here

3-选择Path变量,然后按编辑: enter image description here

4-将NDK目录路径添加到列表中,如下图所示: enter image description here

按确定,并关闭所有打开的窗口。