2017-05-30 23 views
0

私はVisual Studio 2017のコミュニティバージョンをインストールしてXamarinを追加しました。インストールが終了すると、SDKとエミュレータのコンポーネントが正しくダウンロードされていないというエラーログが作成されました。だから私は同じことをredownloaded。私はその後、修正と修復を試みましたが、何も助けなかった - それと同じ問題です。Xamarin - Cant start SDKまたはAVD

エラーが発生しないようにVSを起動すると、SDKとAVDにアクセスできません。私はアイコンをクリックして何も起こらない。 SDKへのパスを確認しました(私にはうまく見えますが、エラーログによると、SDKが正しくインストールされていない可能性があります)。

私は企業環境にあり、アンドロイドのウェブサイトからSDKだけをダウンロードすることはできません。

私は基本的に皆さんに手助けをしています。すべてのヒントと答えは高く評価されています。

乾杯!

エラーログ:

The product failed to install the listed workloads and components due to one or more package failures. 

Incomplete workloads 
    Mobile development with .NET (Microsoft.VisualStudio.Workload.NetCrossPlat,version=15.0.26403.0) 

Incomplete components 
    Android NDK (R13B) (Component.Android.NDK.R13B,version=13.1.6) 
    Android SDK setup (API level 23) (Component.Android.SDK23,version=15.0.26208.0) 
    Google Android Emulator (API Level 23) (Component.Google.Android.Emulator.API23.V2,version=15.0.26208.0) 
    Intel Hardware Accelerated Execution Manager (HAXM) (Component.HAXM,version=15.0.26208.0) 

You can search for solutions using the information below, modify your selections for the above workloads and components and retry the installation, or remove the product from your machine. 

Following is a collection of individual package failures that led to the incomplete workloads and components above. To search for existing reports of these specific problems, please copy and paste the URL from each package failure into a web browser. If the issue has already been reported, you can find solutions or workarounds there. If the issue has not been reported, you can create a new issue where other people will be able to find solutions or workarounds. 

    Package 'AndroidSDKV2,version=24.4.1.9' failed to download from 'https://go.microsoft.com/fwlink/?linkid=824150'. 
     Search URL: https://aka.ms/VSSetupErrorReports?q=PackageId=AndroidSDKV2;PackageAction=DownloadPackage;ReturnCode=0x80131509 
     Impacted workloads 
      Mobile development with .NET (Microsoft.VisualStudio.Workload.NetCrossPlat,version=15.0.26403.0) 
     Impacted components 
      Android SDK setup (API level 23) (Component.Android.SDK23,version=15.0.26208.0) 
      Google Android Emulator (API Level 23) (Component.Google.Android.Emulator.API23.V2,version=15.0.26208.0) 
      Intel Hardware Accelerated Execution Manager (HAXM) (Component.HAXM,version=15.0.26208.0) 
     Details 
      WebClient download failed: The remote server returned an error: (407) Proxy Authentication Required. 
      Bits download failed: Error context: BG_ERROR_CONTEXT_REMOTE_FILE, Error code: -2145844841 
      WinInet download failed: Url 'http://dl.google.com/android/installer_r24.4.1-windows.exe' returned HTTP status code: 403 

    Package 'AndroidNDK_R13B,version=13.1.5,chip=x64' failed to download from 'https://go.microsoft.com/fwlink/?linkid=833504'. 
     Search URL: https://aka.ms/VSSetupErrorReports?q=PackageId=AndroidNDK_R13B;PackageAction=DownloadPackage;ReturnCode=0x80131509 
     Impacted workloads 
      Mobile development with .NET (Microsoft.VisualStudio.Workload.NetCrossPlat,version=15.0.26403.0) 
     Impacted components 
      Android NDK (R13B) (Component.Android.NDK.R13B,version=13.1.6) 
     Details 
      WebClient download failed: The remote server returned an error: (407) Proxy Authentication Required. 
      Bits download failed: Error context: BG_ERROR_CONTEXT_REMOTE_FILE, Error code: -2145844841 
      WinInet download failed: Url 'http://dl.google.com/android/repository/android-ndk-r13b-windows-x86_64.zip' returned HTTP status code: 403 
+0

あなたが持っているすべてのログ/診断情報を投稿できますか? –

+0

ありがとう:) –

+0

https://bugzilla.xamarin.com/show_bug.cgi?id=54521 –

答えて

0

は、Windows 10を使用している場合のHyper-VとHyper-Vツールがインストールされている場合は、確認してください。 スタートメニューまたはWindows + Rを使用してRUNコマンドを開きます。「appwiz.cpl」と入力します。「Windowsの機能を有効または無効にする」をクリックして、Hyper-Vが選択されていることを確認します。

もしそうでなければ、それを選択してマシンを再起動してください。これがあなたのxamarin問題を解決します。

これは解決しなければ、これはファイアウォールの問題で、これがおそらくxamarinツールのダウンロードをブロックしている可能性があります。

関連する問題