Error while starting Microsoft Visual Studio 2010 After installing mono

Asked By 0 points N/A Posted on -
qa-featured

Hello experts,

 

I have installed mono-android-4.4.41.176656956 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.

 

Thanks.

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

SHARE
Answered By 15 points N/A #176893

Error while starting Microsoft Visual Studio 2010 After installing mono

qa-featured

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.
mono-for-android-options-snapshot
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.

Related Questions