[html]
view plain
copy
- ANDROID_NDK_ROOT=/cygdrive/d/andorid/NDK/android-ndk-r7b
- export
ANDROID_NDK_ROOT
ANDROID_NDK_ROOT(可以随意命名)。在使用UltraEdit打开.bash_profile文件的时候,点了转化为DOS format。
在启动cygwin,会显示
-bash:
-bash:
-bash:
-bash:
-bash:
-bash:
-bash:
-bash:
在cygwin中输入:dos2unix -n .bash_profile .bash_profile
关闭重新打开cygwin,ok了。所以再一次提醒,不要用window里的记事本或者写字本打开修改,使用UltraEdit不要转化格式,因为在window下和linux中回车符是不相同的。