1

I am trying to run the NOOK emulator. It is a tablet from Barnes and Noble.

Here is the command I am trying:

C:\Program Files (x86)\Android\android-sdk\add-ons\addon-nooksdk-nook-15\skins>emulator-arm -avd BNTV600 -skin NOOKcolor -skindir
"C:\Program Files (x86)\Android\android-sdk\add-ons\addon-nookcolor-barnes_and_noble_inc-8\skins

I am not certain which directory I need to be in so that the command is recognized. The error I get is this:

'emulator-arm' is not recognized as an internal or external command,
operable program or batch file.

Also, how do I tell it which .apk to use? I have more than one apk

Thank you!!

antonio
  • 10,629
  • 13
  • 68
  • 136
Genadinik
  • 18,153
  • 63
  • 185
  • 284

1 Answers1

1
$ adb shell am
usage: am [start|instrument]
       am start [-a <ACTION>] [-d <DATA_URI>] [-t <MIME_TYPE>]
                [-c <CATEGORY> [-c <CATEGORY>] ...]
                [-e <EXTRA_KEY> <EXTRA_VALUE> [-e <EXTRA_KEY> <EXTRA_VALUE> ...]
                [-n <COMPONENT>] [-D] [<URI>]
       ...

Source : Instrumentation Testing.

And you can also check the documentation of ADB for the various options.

Have a look at this question on StackOverflow.

Community
  • 1
  • 1
Swayam
  • 16,294
  • 14
  • 64
  • 102
  • just looked through the links you posted. Have to admit I am still confused. First simple question, for the adb command to work, where should I run this command? I mean, in which directory? – Genadinik Jan 20 '13 at 15:59
  • `/platform-tools/` – Swayam Jan 20 '13 at 16:00
  • thank you. So the next question is. If I do this command: adb shell am start -n com.google.android.contacts/.ContactsActivity Where in it do I specify which emulator I want to use? My emulator is located in: C:\Program Files (x86)\Android\android-sdk\add-ons\addon-nooksdk-nook-15\skins> and I was given the example to run it like this: emulator-arm -avd BNTV600 -skin NOOKcolor -skindir "C:\Program Files (x86)\Android\android-sdk\add-ons\addon-nookcolor-barnes_and_noble_inc-8\skins – Genadinik Jan 20 '13 at 16:06
  • Have a look at this. http://developer.android.com/tools/help/adb.html#devicestatus I dont think I would be able to explain better than how it is explained here. – Swayam Jan 20 '13 at 16:13
  • no, I was reading through the links you posted, but could not spend too much time on it so I had to put it off. I am considering posting a bounty on this question in a few hours when that becomes possible. – Genadinik Jan 21 '13 at 15:44
  • I ended up figuring it out. Thank you. – Genadinik Jan 21 '13 at 20:09
  • Oh great job! :D Hope I was of any help. :) – Swayam Jan 21 '13 at 20:10