Getting error in starting Emulator
When I run my application, I am getting an error. The error is:
invalid command-line parameter: sw\android-sdk-windows\tools/emulator-arm.exe. Hint: use '@foo' to launch a virtual de开发者_C百科vice named 'foo'. Please use -help for more information
What can I do to fix this?
This is because your sdk path in eclipse contains "Program Files", which contains space. Instead of "Program Files" do it PROGRA~1. This should solve the issue.
EDITED
To find the small names of your directories -
Open a command prompt go to your parent directory and fire this command - DIR/X and you will get list of small names for all of your directories. Replace any name with space with the name you get here.
I got the following error in Windows 7 with Android Emulator invalid command-line parameter:Files.
From Stack Overflow Suggestion I tried the mlink suggestion as follows:
C:>mklink /D "D:\Android\" "c:\Program Files (x86)\Android\android-sdk-windows\"
In the eclipse Change the location of Android location. Help --> Prefrences -> SDK Locatoion to D:\Android Run an application from eclipse, it will show the output in emulator. (Note : It is not possible to start emulator from SDK Manager Directly)
www.rajaramsystems.com/blog
精彩评论