Mac下Android相关配置

1.配置adb和ndk命令

cd ~
touch .bash_profile
open -e .bash_profile

在打开的文件中输入adb和ndk的path

export PATH=${PATH}:/Users/Vincent/Downloads/adt-bundle-mac-x86_64-20140321/sdk/platform-tools
export PATH=${PATH}:/Users/Vincent/Documents/android-ndk-r9b

搞定。


2.ndk-stack查看错误命令

adb logcat | ndk-stack -sym  $PATH/libs/armeabi


你可能感兴趣的:(android,touch,users,Documents,Vincent)