0

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.

Community
  • 1
  • 1
Maxim Gershkovich
  • 45,951
  • 44
  • 147
  • 243

1 Answers1

1

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

jpobst
  • 9,982
  • 1
  • 29
  • 33
  • The other answers said you could "just move it" but clearly you are correct as reinstalling into the root directory did seem to fix the problem. – Maxim Gershkovich Sep 12 '11 at 06:08