안드로이드 adb - OhMinsSup/tip-review GitHub Wiki
db path 설정 test path가 서정되어있지 않은 경우 adb명령어를 실행하면 오류 발생
$adb -version
-bash: adb: command not found
adb path 설정 방법 홈 디렉토리로 이동
cd ~
# bash 쉘에서 사용자의 환경설정을 저장하는 .bash_profile 파일이 있는지 체크
ls -l -a .bash_profile
# .bash_profile이 없다면 새로 생성
touch -c .bash_profile
# .bash_profile 수정
open -e .bash_profile
# export문을 .bash_profile에 추가
export PATH=$PATH:/Users/username/Library/Android/sdk/platform-tools/
# export문에는 adb 파일이 있는 경로를 입력해야 함
reload .bash_profile
source .bash_profile
$adb -version
// react native = "android-dev": "adb reverse tcp:8081 tcp:8081 && react-native run-android",
Android Debug Bridge version 1.0.32 참고 URL http://stackoverflow.com/questions/5526470/trying-to-add-adb-to-path-variable-osx