下载(以实际版本为准)JavaForOSX2014-001.dmg、JavaForOSX2014-001.dmg、adt-bundle-mac-x86_64-20140702.zip、android-ndk-r10d-darwin-x86_64.bin
安装JavaForOSX2014-001.dmg、JavaForOSX2014-001.dmg
解压adt-bundle-mac-x86_64-20140702.zip到/Android/adt-bundle-mac-x86_64-20140702
解压android-ndk-r10d-darwin-x86_64.bin到/Android/adt-bundle-mac-x86_64-20140702/android-ndk-r10d
open -e .bash_profile
输入:
export PATH=${PATH}:/Android/adt-bundle-mac-x86_64-20140702/android-ndk-r10d
A_NDK_ROOT=/Android/adt-bundle-mac-x86_64-20140702/android-ndk-r10dsource .bash_profile 重新加载配置
ok!搞定了测试一下
*****deMBP:~ luowei$ ndk-build -version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
发表评论