0

I just started learning the Android SDK and I'm trying to run another emulator via command line. When I run the command:

android emulator -avd sender     

from C:\Program Files\Android\android-sdk\tools, I get the following error.

Error: Expected verb after global parameters but found 'emulator' instead.

I actually got it to work once. I have already created an AVD called sender via AVD manager..

Am I missing something?

1 Answer 1

2

Try

emulator.exe -avd sender

from command line in C:\Program Files\Android\android-sdk\tools.

This will tell the emulator.exe to open android virtual device "sender", assuming that you already created one virtual device called sender.

Sign up to request clarification or add additional context in comments.

2 Comments

You sir, are my hero. In case anyone else runs into this issue. You do not need to put "Android" in front of the emulator.exe -avd sender. Why is it that I have to put exe though?
I think there might be something wrong with the most updated AVD Manager: stackoverflow.com/questions/11332012/…. I found a work around by manually selecting an AVD in eclipse: stackoverflow.com/questions/8306581/…. Your answer helped to from command line, but didn't work when trying to open multiple AVDs. Thanks~

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.