18/03/2021, 09:38
Android studio terminal adb on mac
Android studio terminal adb on mac Tháng Mười Hai 18, 2019 nguyenvanquan7826 Z- Thể loại khác Leave a response I was try many, it run when setup, but after restart Android studio, terminal error adb command not found and I must setup again. ...
Android studio terminal adb on mac
I was try many, it run when setup, but after restart Android studio, terminal error adb command not found and I must setup again. Now I found way to make it run forever.
Step 1: Open terminal
Step 2: Create ~/.zshrc file by command:
echo "" > ~/.zshrc
Step 3: Open this file and paste 2 lines, save and now it work forever.
export ANDROID_HOME=/Applications/Android Studio.app/sdk export PATH="$ANDROID_HOME/platform-tools:$ANDROID_HOME/tools:$PATH"