简体   繁体   中英

Android emulator r12 and MONO (invalid command-line parameter)

I have run into the Android emulator r12 bug (As shown here , here and here ) but unfortunately moving the SDK location as described in the answers doesn't work.

If I change the directory location - the emulator starts working but - MONO will throw an exception (along the lines of "couldnt start emulator"). However leaving it where it is the emulator simply never starts and MONO will sit and wait.

Going into the AVD manager and attempting to start the emulator returns with the error.

invalid command-line parameter: Files.
Hint: use '@foo' to launch a virtual device named 'foo'.
please use -help for more information

I am assuming if I can just get the AVG manager to start the emulator MONO will also start working again.

Any suggestions appreciated.

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.)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM