this is a common error you might get when you are first running your first hello world script in the android sdk using eclipse i was able to fix this error invalid command-line parameter: Files use '@foo' to launch a virtual device named 'foo' please [2675], Last Updated: Sat May 18, 2024
mel
Wed Jul 13, 2011
50 Comments
24255 Visits
hi everyone, just wanted to share something or better yet a problem i had with my installation of my android sdk. when i was creating the hello world from the google website:
when i completed the 'Run the Application' step, i got this error message on the console tab.
[2011-07-13 16:22:48 - Emulator] invalid command-line parameter: Files. [2011-07-13 16:22:48 - Emulator] Hint: use '@foo' to launch a virtual device named 'foo'. [2011-07-13 16:22:48 - Emulator] please use -help for more information
the problem was that i have a 64bit windows 7 pc and the path for the SDK location was D:\Program Files (x86)\Android\android-sdk
so i needed to change the Program Files (x86) to D:\PROGRA~2\Android\android-sdk
if you have another OS like windows 7 32bit, you can use this website as preferences,
if you have windows XP for example: change from: C:\Program Files\Wallpaperama\Android\android-sdk to C:\PROGRA~1\Wallpaperama\Android\android-sdk
if you have something else where you installed your android SDK: change from: C:\Andoid Apps\Wallpaperama\Android\android-sdk to C:\ANDROID~1\Wallpaperama\Android\android-sdk
so basically, the problem is the spaces. there should not be any spaces in your SDK location
after i was able to fix the SDK location, i didnt get the error anymore
UPDATE: thank you for all your comments. i appreciate all the +1 i see that many of you are asking where do you make the changes... a picture is worth a thousand words, but a video is worth a million!!! so i made a short video how to make the changes
Neel
Sun Mar 25, 2012
i am still not able to solve this problem
my SDK path is
C:\android\and im using windows-32 bit
Ekeolere
Fri Jan 27, 2012
Thanks alot, this helped me when i was trying to emulate an sdcard and got this error