配置NDK环境变量问题?
Potter 博客专家认证 2012-03-13 11:03:27 在我的cybwin\home\lenovo目录下的.bash_profile中末尾添加
ANDROID_NDK_ROOT=/cygdrive/d/andorid/NDK/android-ndk-r7b
export ANDROID_NDK_ROOT
我的NDK目录为:“D:/andorid/NDK/android-ndk-r7b”
配置完后,重新打开cybwin报错如下:
-bash: $'\r': command not found
-bash: $'\r': command not found
-bash: $'\r': command not found
-bash: $'\r': command not found
-bash: $'\r': command not found
-bash: $'\r': command not found
-bash: $'\r': command not found
-bash: /home/lenovo/.bash_profile: line 47: syntax error: unexpected end of file
请问各位朋友如何解决,感谢了!