[mono-android] SDK path amnesia

MihaMarkic miha at rthand.com
Wed Feb 15 10:20:50 UTC 2012


I am using the free version of Mono For Android on Win 7 x64. Everything
worked fine until I upgraded Mono to the latest version, then run Start
Android Emulator Manager from VS' Tools menu and updated everything there.
Next I've applied the latest Windows Update patches (today) and now mono
won't find SDK images anymore. Not sure which of these steps caused the
problem, I assume the latest.

Here is the exception I get upon trying to run an application and clicking
on Start emulator image:
---------------------------

---------------------------
System.ArgumentNullException: Value cannot be null.

Parameter name: path1

   at System.IO.Path.Combine(String path1, String path2)

   at Mono.AndroidTools.Utils.FilePath.Combine(String[] paths)

   at Mono.AndroidTools.AndroidSdk..ctor(FilePath androidPath, FilePath
javaBinPath)

   at Mono.AndroidTools.AndroidSdk.get_Sdk()

   at MonoDroid.Adb.EnsureAdbExists()

   at MonoDroid.Adb.EnsureServerRunning()

   at MonoDroid.Adb.GetDevices()

   at Novell.MonoDroidVS.DeviceChooser.<PopulateDevices>b__0()
---------------------------
OK   
---------------------------

I get the same exception when invoking Start Android Emulator Manager from
VS' Tools menu.

I've checked the settings and nothing was changed - Android SDK location
points to correct folder.


--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/SDK-path-amnesia-tp5485543p5485543.html
Sent from the Mono for Android mailing list archive at Nabble.com.


More information about the Monodroid mailing list