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:/
Delete your previous Virtual devices. Re create it. launch it.
Once the emulator is running, run your application.
Other wise, go to your run configuration and select the emulator you would like to run.
If you manually open the emulator from within the Android SDK then run the debugger it works too.
I had this same exact error when I would try to launch the emulator from Eclipse. I had all my Android files in my documents to begin with, not my program files. I moved these files and still had the problem because of my user name having a space in it.
So I took the suggestion of Andrew McGarry and put my Android SDK folder in my C: directory and viola, problem solved...well after I redirected it in Eclipse obviously lol.
Just make sure that nothing in your SDK path has a space in it and you should be fine. You shouldn't have to uninstall or delete anything, and you probably won't have to move any files around either. Remember...no spaces in the entire path. =)
I was facing the same problem with Android when executing the emulator, and I found a solution right now. Please follow these steps:
This trick doesn't work in IntelliJ. To solve it I moved the Android SDK to c:\android-sdk-windows.
After that you still have to change the path to Android in IntelliJ of course: - right click on the module -> open module settings - go to: platform settings -> SDKs -> Android
Or delete the previous one and create a new one
In the line that says invalid parameter. You need to get rid of all the spaces. I had the same problem - my path was something like jason/phone app/xyz
I changed the directory name to jason/phoneapp/xyz
and it worked. You need to change the actual name of the directory that the command line is referencing. Then you need to go into eclipse and go into Windows > Preferences and you will find it says phone app (in my case) and change this also to phoneapp, and all will be well.
Don't uninstall anything, and don't move files around because they will the rest of the SDK will eventually go looking for them and not be able to find them.