Starting the Android emulator in SDK tools, revision 12

As was previously suggested, it does seem to be caused by the fact that there is a space in the default installation path of the Android SDK: C:\Program Files\Android\android-sdk\

There are a couple of possible solves, though-

  1. move installation directories to paths that do not contains spaces (as already mentioned)…
  2. but simpler and possibly slightly less cumbersome is simply adjusting the path in Eclipse to use 8-dot-3 directory name(s). Since I’m running Win7, I have two Program Files directories, the second one being “Program Files (x86)” which is where the sdk installed. So the 8-dot-3 path is PROGRA~2. Thus, I simply changed the “SDK Location” value in the Android Preferences in Eclipse from C:\Program Files\Android\android-sdk\ to C:\PROGRA~2\Android\android-sdk\ and everything now works fine.

If you don’t know the 8-dot-3 name of your desired path, just fire up a Command Prompt and execute “DIR /X”… the short name will be displayed next to each directory.

Leave a Comment