![]() Save the file and close the TextEditor app. Insert the command below to add ADB as PATH variable (replace username with your own) export PATH=$PATH:/Users/username/Library/Android/sdk/platform-tools/ Open it with the TextEditor // prior Catalina open -e. So, let's create it // prior Catalina touch. To persist PATH changes and prevent it to be cleaned up after closing the Terminal app, you need to keep the variables in the bash_profile file for OS before Catalina and zshrc file for Catalina. Make sure to be in the Home directory cd ~ Without further ado, with the Terminal app opened, do the following: This short post intends to explain how to add ADB as a PATH variable on OSX. If you are an Android developer you probably needed to use ADB to do things like listing connected devices or connect to a physical device over wi-fi, and so on.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |