Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
SetSite failed for package [XamarinAndroidPackage][Could not find file 'C:\Users\Alan\AppData\Local\Android\android-sdk\platforms\android-23\source.properties'.]:{ at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost) at System.IO.StreamReader..ctor(String path) at Xamarin.AndroidDesigner.PropertiesFile.Load(String file) in C:\Projects\xamarinvs\External\md-addins\MonoDevelop.MonoDroid\Xamarin.AndroidDesigner\Xamarin.AndroidDesigner\PropertiesFile.cs:line 39 at Xamarin.AndroidDesigner.AndroidDesignerService.Initialize(String androidSdkPath, String javaSdkPath, String xaSdkPath, String configPath) in C:\Projects\xamarinvs\External\md-addins\MonoDevelop.MonoDroid\Xamarin.AndroidDesigner\Xamarin.AndroidDesigner\AndroidDesignerService.cs:line 188 at Xamarin.VisualStudio.Android.Designer.MonoAndroidDesignerService.Initialize() in C:\Projects\xamarinvs\src\Core\VisualStudio.Android\Designer\MonoAndroidDesignerService.cs:line 47 at Xamarin.VisualStudio.Android.XamarinAndroidPackage.Initialize() in C:\Projects\xamarinvs\src\Core\VisualStudio.Android\XamarinAndroidPackage.cs:line 126 at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider sp)}
Entering constructor for: Xamarin.VisualStudio.Android.XamarinAndroidPackage
Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll
Clide.Composition.ServicesExportProvider Warning: 0 : Failed to retrieve exported types from assembly Microsoft.AspNet.Razor.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null.
Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll
Clide.Composition.ServicesExportProvider Warning: 0 : Failed to retrieve exported types from assembly Microsoft.AspNet.Razor.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null.
Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll
Clide.Composition.ServicesExportProvider Warning: 0 : Failed to retrieve exported types from assembly Microsoft.AspNet.Razor.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null.
Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll
Clide.Composition.ServicesExportProvider Warning: 0 : Failed to retrieve exported types from assembly Microsoft.AspNet.Razor.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null.
Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll
Clide.Composition.ServicesExportProvider Warning: 0 : Failed to retrieve exported types from assembly Microsoft.AspNet.Razor.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null.
Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll
Clide.Composition.ServicesExportProvider Warning: 0 : Failed to retrieve exported types from assembly Microsoft.AspNet.Razor.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null.
Exception thrown: 'System.ComponentModel.Composition.ImportCardinalityMismatchException' in System.ComponentModel.Composition.dll
Exception thrown: 'System.ComponentModel.Composition.ChangeRejectedException' in System.ComponentModel.Composition.dll
System.ComponentModel.Composition Warning: 1 : The ComposablePartDefinition 'Xamarin.VisualStudio.Android.Devices.MicrosoftAndroidDeviceProvider' has been rejected. The composition remains unchanged. The changes were rejected because of the following error(s): The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information.
1) No exports were found that match the constraint:
ContractName Microsoft.VisualStudio.VirtualDevice.Interop.IVirtualDeviceProvider
RequiredTypeIdentity Microsoft.VisualStudio.VirtualDevice.Interop.IVirtualDeviceProvider
Resulting in: Cannot set import 'Xamarin.VisualStudio.Android.Devices.MicrosoftAndroidDeviceProvider..ctor (Parameter="virtualDeviceProvider", ContractName="Microsoft.VisualStudio.VirtualDevice.Interop.IVirtualDeviceProvider")' on part 'Xamarin.VisualStudio.Android.Devices.MicrosoftAndroidDeviceProvider'.
Element: Xamarin.VisualStudio.Android.Devices.MicrosoftAndroidDeviceProvider..ctor (Parameter="virtualDeviceProvider", ContractName="Microsoft.VisualStudio.VirtualDevice.Interop.IVirtualDeviceProvider") --> Xamarin.VisualStudio.Android.Devices.MicrosoftAndroidDeviceProvider --> ComponentCatalog (Types='Clide.ClideSettings, Clide.ErrorsManager, ...').
Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll
Clide.Composition.ServicesExportProvider Warning: 0 : Failed to retrieve exported types from assembly Microsoft.AspNet.Razor.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null.
Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll
Clide.Composition.ServicesExportProvider Warning: 0 : Failed to retrieve exported types from assembly Microsoft.AspNet.Razor.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null.
Xamarin.VisualStudio.TastyPackage Information: 0 : Hooked up SDB tracing adapter
Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll
Clide.Composition.ServicesExportProvider Warning: 0 : Failed to retrieve exported types from assembly Microsoft.AspNet.Razor.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null.
Xamarin.VisualStudio.TastyPackage Information: 0 : Initialization finished
Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll
Xamarin.VisualStudio.Android.XamarinAndroidPackage Warning: 0 : Initializing Xamarin.VisualStudio.Android.XamarinAndroidPackage
Clide.Composition.ServicesExportProvider Warning: 0 : Failed to retrieve exported types from assembly Microsoft.AspNet.Razor.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null.
Xamarin.VisualStudio.Android.Services.AndroidErrorsManager Warning: 0 : Xamarin.Android for Visual Studio requires Android NDK, which is used to embed .NET assemblies into native libraries. While the NDK is generally not used for developing an Android application, we suggest you to install it. Please set Android NDK path on Tools->Options->Xamarin->Android Settings menu.
Xamarin.VisualStudio.Android.Services.AndroidErrorsManager Warning: 0 : !Xamarin.Android for Visual Studio requires Android NDK, which is used to embed .NET assemblies into native libraries. While the NDK is generally not used for developing an Android application, we suggest you to install it. Please set Android NDK path on Tools->Options->Xamarin->Android Settings menu.
Xamarin.VisualStudio.ProcessManager+ProcessAdapter Verbose: 0 : -- Starting Process - 06/23/2016 12:52:42 --
Xamarin.VisualStudio.ProcessManager+ProcessAdapter Verbose: 0 : Executable: where
Xamarin.VisualStudio.ProcessManager+ProcessAdapter Verbose: 0 : Arguments: javac
Xamarin.VisualStudio.ProcessManager+ProcessAdapter Verbose: 0 : -- Process Finished [-1] --
Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll
Clide.Composition.ServicesExportProvider Warning: 0 : Failed to retrieve exported types from assembly Microsoft.AspNet.Razor.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null.
Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll
Clide.Composition.ServicesExportProvider Warning: 0 : Failed to retrieve exported types from assembly Microsoft.AspNet.Razor.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null.
Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll
Exception thrown: 'System.IO.FileNotFoundException' in Xamarin.VisualStudio.Android.dll
Xamarin.VisualStudio.Android.XamarinAndroidPackage Error: 0 : Xamarin.Android: There was an error attempting to initialize the Mono for Android extension.
System.IO.FileNotFoundException: Could not find file 'C:\Users\Alan\AppData\Local\Android\android-sdk\platforms\android-23\source.properties'.
File name: 'C:\Users\Alan\AppData\Local\Android\android-sdk\platforms\android-23\source.properties'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
at System.IO.StreamReader..ctor(String path)
at Xamarin.AndroidDesigner.PropertiesFile.Load(String file) in C:\Projects\xamarinvs\External\md-addins\MonoDevelop.MonoDroid\Xamarin.AndroidDesigner\Xamarin.AndroidDesigner\PropertiesFile.cs:line 39
at Xamarin.AndroidDesigner.AndroidDesignerService.Initialize(String androidSdkPath, String javaSdkPath, String xaSdkPath, String configPath) in C:\Projects\xamarinvs\External\md-addins\MonoDevelop.MonoDroid\Xamarin.AndroidDesigner\Xamarin.AndroidDesigner\AndroidDesignerService.cs:line 188
at Xamarin.VisualStudio.Android.Designer.MonoAndroidDesignerService.Initialize() in C:\Projects\xamarinvs\src\Core\VisualStudio.Android\Designer\MonoAndroidDesignerService.cs:line 47
at Xamarin.VisualStudio.Android.XamarinAndroidPackage.Initialize() in C:\Projects\xamarinvs\src\Core\VisualStudio.Android\XamarinAndroidPackage.cs:line 126
Xamarin.VisualStudio.Android.XamarinAndroidPackage Error: 0 : !Xamarin.Android: There was an error attempting to initialize the Mono for Android extension.
The thread 0x3a8 has exited with code 0 (0x0).
The thread 0x106c has exited with code 0 (0x0).
The thread 0x1874 has exited with code 0 (0x0).
The thread 0x177c has exited with code 0 (0x0).
The thread 0x534 has exited with code 0 (0x0).
The thread 0x170c has exited with code 0 (0x0).
The thread 0x1fb4 has exited with code 0 (0x0).
The thread 0x5dc has exited with code 0 (0x0).
The thread 0xc08 has exited with code 0 (0x0).
The thread 0xd98 has exited with code 0 (0x0).
The thread 0x1cac has exited with code 0 (0x0).
The thread 0x858 has exited with code 0 (0x0).
The thread 0x1d60 has exited with code 0 (0x0).
http://screencast.com/t/J6wBQqsx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment