The Android emulator is not starting, showing invalid command-line parameter
- If your SDK location path in Eclipse is in
C:\Program Files (x86)\
change toC:\PROGRA~2\
. - If you are running 32-bit Windows,
C:\Program Files\
, change the path toC:\PROGRA~1\
.
Android Emulator: invalid command-line parameter
It's my mistake that I named my folder "Android Development" where I have put my sdk. I realized that having a path that have an empty space between letters or words, like in my case "Android Development" have caused this error.
I just transferred my android sdk to another folder and make sure that i named it properly(without blank space), for example "Android_Development".
Android Emulator - invalid command-line parameter:
Please refer to the Stack Overflow post Starting the Android emulator in SDK tools, revision 12 for a solution. It did not come up in the search, but it did correct my problem. The space in the path name (PROGRAM FILES) seems to be causing the problem. I took the renaming suggestion to change the path name to PROGRA~1
, and my problem was resolved.
Android emulator r12 and MONO (invalid command-line parameter)
You can't just move it, because Mono uses the registry key that the Android SDK installer wrote when it was installed to find it. You need to uninstall the Android SDK and reinstall to a location without spaces in it. (Or update the registry key to your new location.)
Getting error in starting Emulator
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.
Related Topics
How to Use Getsystemservice in a Non-Activity Class (Locationmanager)
Dynamic Listview Adding "Load More Items" at the End of Scroll
Android Take Screen Shot Programmatically
Error: Status{Statuscode=Developer_Error, Resolution=Null}
Led Flashlight on Galaxy Nexus Controllable by What API
Google Play Services Out of Date. Requires 3159100 But Found 3158130
Complete Working Sample of the Gmail Three-Fragment Animation Scenario
How to List Files in an Android Directory
How to Check If a View Is Visible or Not in Android
Sha1 Key for Debug & Release Android Studio MAC , How to Generate Sha1 Release Keys in MAC
How to Shrink the Drawable on a Button
Scrollview Can Host Only One Direct Child
Android: How to Get Value of an Attribute in Code
How to Sync SQLite Database on Android Phone with MySQL Database on Server
How to Get All Checked Items from a Listview
Android Studio Adb Syntax Error: ")" Unexpected