Reputation: 15656
Windows 10 (64 bit).
My emulator is locate on folder :
d:\Programs\Android\avd.android\avd\Nexus_4_4.avd\
My apk is locate on folder:
d:\Programs\Android\apk\my_apk.apk
I'm locate on folder D:\temp If I want to start emulator from command line (prompt) I use the next command:
emulator -avd exus_4_4.avd
It's work fine. Emulator is success launched.
But I need more. Only from command line:
How I can do this from command line?
Upvotes: 1
Views: 805
Reputation: 4650
To install a .apk file you need follow the below steps
d:\Programs\Android\apk\
adb install my_apk.apk
and press Enter.adb install -r FileName.apk
Upvotes: 2
Reputation: 355
Check Android developer site for this kind of information. https://developer.android.com/studio/build/building-cmdline.html
Install
adb install path/to/your_app.apk
and install with run
adb -d install path/to/your_app.apk
Upvotes: 1