开发者

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

开发者 https://www.devze.com 2023-04-04 02:45 出处:网络
I have run into the Android emulator r12 bug (As shown here, he开发者_如何学编程re and here) but unfortunately moving the SDK location as described in the answers doesn\'t work.

I have run into the Android emulator r12 bug (As shown here, he开发者_如何学编程re 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.)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号