Error while starting Microsoft Visual Studio 2010 After installing mono

Asked By 0 points N/A Posted on -

Hello experts,


I have installed mono-android- after installing this I have got an error message “error attempting to initialize the MonoAndroidPackage”. Is this a problem with Microsoft Visual Studio? How can I overcome this annoying error? I need assistance to resolve the matter.



Error :

There was an error attempting to initialize the MonoAndroidPackage: System.ArgumentNullException: Value cannot be null. Parameter name: path1 At System.IO.Path.Combine(String path1, String path2) At Xamarin.AndroidTools.AndroidSdk.get_AdbExe() At Mono.Android.VisualStudio.MonoAndroidDeviceManager..ctor() At Mono.Android.VisualStudio.MonoAndroidSdk.get_DeviceManager() At Mono.Android.VisualStudio.MonoAndroidPackage.Initialize()

Answered By 0 points N/A #176893

Error while starting Microsoft Visual Studio 2010 After installing mono


Hi Hunter,
There are multiple solutions to this issue.
Solution 1: You need to check for correct path as the exception is thrown while combining the path with adb.exe file. The snapshot shows the Options to be selected in the ‘Mono For Android’ menu.
Solution 2:
Ensure that the android SDK tools and platform tools are downloaded and installed in the system. To check this, open the ‘Android SDK Manager’ from the start menu and check the status as ‘Installed’ for all the components.
After installing all the platform tools and Android API Level 8, the problem will be solved.

Login/Register to Answer

Related Questions