If you prefer command line shortcuts like me, you've probably wanted to have your own shortcuts instead of moving through folders and opening them one by one, today I'll show you how to open your mobile app in android studio by using MacOS command line.
For Mac OS, open
~/.zshrc by this command
sudo nano ~/.zshrc
And then add following line
alias android="open -a /Applications/Android\ Studio.app"
Now save the file then and reload it by this command
Now you able to open specific android project with Android Studio from terminal.
Or you can go to your android folder
cd /path/to/your/project then type
- Last updated 8 months ago