How to open an Android Studio project from the Finder? I see the below list of files. Is it possible to double-click one of them to get it opened by Android Studio?
4 Answers
Sorry, but there is no one-click run solution like I expect you have with some IDEs like Visual Studio or CodeBlocks.
All you need to do is open your Android Studio and then import a project.
EDIT: I've already run Android project in Android Studio using Terminal
(using Ubuntu 14.04LTS). This is my full command:
./android/android-studio/bin/studio.sh workspace/Android/glucosio-android/
Hope you find it useful

- 19,130
- 7
- 81
- 94
-
Thanks, this is - at least - a possibility. – brainray Jan 12 '16 at 16:55
-
yes, thanks to this you can create bash scripts, but it's still not the same with click one file and open whole project – piotrek1543 Jan 12 '16 at 17:03
You can create command line launcher Tools > Creat Command-line Launcher
If you are using macOS then create an Automator Quick action.
- Configure like following
Add a run shell script, then paste
/usr/local/bin/studio $@
. Make sure pass input is changed to as Arguments.Save it (say Open with Android studio), then right click on the studio project folder > Quick actions > Open with Android studio. Or if you don't have much quick action this will list in the bottom of the context menu itself.

- 12,091
- 13
- 59
- 100
-
Your solution doesn't work in all cases. For example when the AS is installed on external drive the command launches it without settings and it fails to find SDK... I discovered launching AS this way works better: `open -a /Applications/Android\ Studio.app $@` – Vito Valov Nov 16 '19 at 17:38
No, You need import the project from the Android studio.
There isn't a way to open directly from finder. What you need to do is:
On Android Studio go to File Menu -> New... -> Import Project

- 121
- 1
- 10
- In Finder, select the ListView_Ex2.iml file.
- Right click, and select Get Info
- Under Open with: select Other and choose Android Studio, then Always Open With, and click Add.
- Click Change All...
You can now double-click any IML file to open that project.

- 32,379
- 13
- 71
- 75