Blue Stack
1. Open 'Terminal'
2. directly past this
3. again type $ adb connect 127.0.0.1:5555
4. goto android studio click on Run (green play ) . button , You will see "Sumsung device".
1. Open 'Terminal'
2. directly past this
echo "export PATH=\$PATH:/Users/${USER}/Library/Android/sdk/platform-tools/" >> ~/.bash_profile
3. again type $ adb connect 127.0.0.1:5555
4. goto android studio click on Run (green play ) . button , You will see "Sumsung device".
n your terminal, navigate to home directory
cd
create file .bash_profile
touch .bash_profile
open file with TextEdit
open -e .bash_profile
insert line into TextEdit
export PATH=$PATH:/Users/username/Library/Android/sdk/platform-tools/
save file and reload file
source ~/.bash_profile
check if adb was set into path
adb version
One liner version
Echo your export command and redirect the output to be appended to .bash_profile file and restart terminal. (have not verified this but should work)
echo "export PATH=$PATH:/Users/username/Library/Android/sdk/platform-tools/ sdk/platform-tools/" >> ~/.bash_profile
Comments
Post a Comment