Emulator launching problem

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

Emulator launching problem

Postby soumen4code » Mon Jun 27, 2011 10:13 am

I want to launch my app in to android emulator from cmd
for that I have written one bat file for launching the emulator .
1st bat file:
"C:\Program Files\Android\android-sdk\tools\emulator" -avd MyAVD
This is used for launching the emulator

And I have opened another cmd and launched the app in to it I am giving the commands I used below
2nd bat file:
"C:\Program Files\Android\android-sdk\platform-tools\adb" -e install D:\Hello\bin\AndroidTest.apk

But my problem is for runnind the 2nd bat file I have to wait for the first batfile to launch the simulator properly.

My query is is that possible to write some batch file which will launch the emulator as well as will install the app in to it .

Waiting for reply. Thnks in advance.. :)
Posts: 46
Joined: Wed Mar 16, 2011 4:21 pm


Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 3 guests