2016-09-20 38 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

按確定,並關閉所有打開的窗口。