21
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

[Android Studio] Androidプロジェクトをコマンドラインからサクッと開く

Last updated at Posted at 2017-09-08

概要

Xcodeプロジェクトを $ open /path/to/Project.xcodeproj で開くように、コマンドラインからAndroid Studioを起動する方法

studioコマンドをインストール

  1. Android Studio のメニューのTools
  2. Create Command-line Launcher...
  3. (任意)studioコマンドのインストールパスを変更
  4. 「OK」をクリック

eb79f3e3-6ca7-e6a7-2720-54bfb0e49810.png
5c99e1b7-ce89-d6b6-f55e-23da4505b72b.png

これで studio コマンドが使えるようになる

Androidプロジェクトを起動

studio コマンドで Androidプロジェクトのディレクトリを指定すると開く

$ studio ~/path/to/project/dir
21
6
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
21
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?