When I click the \'run as Android application\' option, it shows the following error:
[2010-08-16 16:56:35 - Emulator] invalid command-line parameter: http:/
I've been trying to solve this same problem,and I just found a solution which works for me: @First i saw a file named adb_has_moved.txt.The contents of the file were "The adb tool has moved to platform-tools/
If you don't see this directory in your SDK, launch the SDK and AVD Manager (execute the android tool) and install "Android SDK Platform-tools"
Please also update your PATH environment variable to include the platform-tools/ directory, so you can execute adb from any location.
" so i copied adb.exe from platform-tools to tools......BUT THAT DIDN'T WORKED OUT Then i tried the next solution that is to create a new device bt that also flopped removing old virtual devices and creating new one was also not working for me
SO i tried the solution below and stated by many.i found it from a spanish blog.i dont knw spanish bt i do knw google translate.
It seems the problem is the spaces in the path for example:C:\Program Files\Android\android-sdk
CHANGE THIS TO C:\PROGRA~1\Android\android-sdk
It really worked out for me.
i did the following and my problem was solved(MY PROBLEM:when i wanted to run an emulator from the AVD manager,i received the following error "invalid command-line parameter: Files. Hint: use '@foo' to launch a virtual device named 'foo'. please use -help for more information") i think its happens when in the path of android.exe (in the tools folder in android-sdk directory) any space exists (like C:/Program Files(x86)/... between Program and Files) So what did i do? -i deleted all virtual devices that have created. -copied the whole android-sdk folder somewhere else. -uninstalled and reinstalled SDK in another path without any spaces(like C:/Android/android-sdk) -i copied the contents of old sdk-android (which was copied before uninstalling) like platform tools and platforms folders to the new path.(you can download platform tools and platform(s) again from the avd manager but this waist time) it worked for me and i hope it works for you too. thanks
Apparently the problem are the spaces in the path, so just from:
C:\Program Files\Android\android-sdk
to:
C:\PROGRA~1\Android\android-sdk
If you have a 64 bit system
From:
C:\Program Files (x86)\Android\android-sdk
to:
C:\PROGRA~2\Android\android-sdk
Under Windows->Preferences->Android Change the SDK Location as shown above.
Translated from: http://satoriwd.com/astath/?p=11
I've been trying to solve this same problem for two days now, and I just found a solution which works for me:
Cut the 'Android' file folder from it's place in the 'Program Files' (or 'Program Files (x86)' if you use Windows 7) folder and paste it directly in the C:\ directory
Your SDK file path should look like this:
C:\Android\android-sdk
Simple as that :D Now the Android debugger shouldn't worry about there being a space in the file path. Let me know if additional clarification is needed