我如何修正这个错误“找不到gcc工具链”?

时间:2021-02-11 17:07:40

I install cocos2d-x-v3.2 and android-ndk-r10 with command on windows and i get this error "couldn't find the gcc toolchain" because for android-ndk-r10 .now i want remove android-ndk-r10 and install android-ndk-r9 . i cant install (r9)

我安装了带有windows命令的cocos2d-x-v3.2和android-ndk-r10,我发现这个错误“找不到gcc工具链”,因为android-ndk-r10。我不能安装(r9机型)

I remove this(C:\Users\Far...\android-ndk-r10) folder from location but it doesn't work

我从位置上删除了这个(C:\用户\Far…\android-ndk-r10)文件夹,但它不起作用

what should i do?

我应该做什么?

->Check environment variable NDK_ROOT ->Search for environment variable NDK_ROOT... ->NDK_ROOT is found : C:\Users\Far\android-ndk64-r10-windows-x86_64\android- ndk-r10

->检查环境变量NDK_ROOT ->查找环境变量NDK_ROOT…- > NDK_ROOT发现:C:\Users\Far\ android-ndk64-r10-windows-x86_64 \ android - ndk-r10

1 个解决方案

#1


0  

Once you've extracted the r9 Android NDK, you should set the NDK_ROOT environment variable to its location.

提取r9 Android NDK之后,应该将NDK_ROOT环境变量设置为其位置。

The procedure for setting/changing environment variables under Windows is described here.

这里描述了在Windows下设置/更改环境变量的过程。

#1


0  

Once you've extracted the r9 Android NDK, you should set the NDK_ROOT environment variable to its location.

提取r9 Android NDK之后,应该将NDK_ROOT环境变量设置为其位置。

The procedure for setting/changing environment variables under Windows is described here.

这里描述了在Windows下设置/更改环境变量的过程。