Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to execute android application in command line of Android Studio?

If for example I have simple android project and I want to run it from command line of Android Studio. How can I do that? I want to enter some commands into command line:

ant debug adb install bin/MyFirstApp-debug.apk

Where can I find command line in Android Studio? Thanks for any help.

like image 741
veinhorn Avatar asked Aug 03 '13 13:08

veinhorn


2 Answers

To open terminal in android studio Android Studio Arctic Fox

View -> Tool Window -> Terminal (or) Alt + F12

enter image description here

like image 189
Rohit S Avatar answered Oct 25 '22 12:10

Rohit S


Update: New location in Android Studio: View -> Tool Windows -> Terminal.

Also, the default keyboard shortcut is alt + F12.

Old: Go to Tools -> Open Terminal. Works great.

like image 25
Anonsage Avatar answered Oct 25 '22 14:10

Anonsage