2017-01-12 12 views
7

オンmacOS Sierra 10.12.2 Visual Studio for Macプレビューのインストールに失敗しました。インストールバージョンは3.0.0です。(1)。MacOSでVisual Studio for Macプレビューのインストールに失敗しましたSierra

ソフトウェア要件はすべてインストールされますが、インストーラはいくつかの点でAndroidのSDKを検出できない:

[2017-01-12 10:08:52.260] [Debug] Detecting software item 'Mono Framework' 
[2017-01-12 10:08:52.260] [Info] Checking whether Mono needs update/installation 
[2017-01-12 10:08:52.260] [Debug] In IsCurrentMonoNewEnough 
[2017-01-12 10:08:52.260] [Debug] current == /Library/Frameworks/Mono.framework/Versions/Current 
[2017-01-12 10:08:52.260] [Debug] current symlink: /Library/Frameworks/Mono.framework/Versions/4.6.2 
[2017-01-12 10:08:52.260] [Debug] file name: 4.6.2 
[2017-01-12 10:08:52.261] [Debug] parsed version: 4.6.2 
[2017-01-12 10:08:52.261] [Info] Mono 4.8.0 needs to be installed. 
[2017-01-12 10:08:52.362] [Info] Status: successful 
[2017-01-12 10:08:52.362] [Info] Software item 'Mono Framework': not up to date 
[2017-01-12 10:08:52.368] [Info] Component 'Mono Framework' v. 4.8.0 absent 
[2017-01-12 10:08:52.369] [Debug] Component Mono Framework enqueuing URL https://dl.xamarin.com/MonoFrameworkMDK/Macx86/MonoFramework-MDK-4.8.0.344.macos10.xamarin.universal.pkg 
[2017-01-12 10:08:53.506] [Debug] Detecting software item 'Java SDK' 
[2017-01-12 10:08:53.507] [Info] Checking whether Oracle JDK needs update/installation 
[2017-01-12 10:08:53.509] [Info] Status: successful 
[2017-01-12 10:08:53.509] [Info] Component 'Java SDK' v. 1.8.0 1.8.0 present 
[2017-01-12 10:08:53.509] [Info] Software item 'Java SDK': up to date 
[2017-01-12 10:08:53.509] [Debug] Detecting software item 'Android SDK' 
[2017-01-12 10:08:53.509] [Info] Checking if Android SDK needs to be updated/installed 
[2017-01-12 10:08:53.510] [Info] Using default samples: 
[2017-01-12 10:08:53.510] [Info] Downloading from 'http://download.xamarin.com/Installer/xamarin-android-sdk.xml'. 
[2017-01-12 10:08:53.510] [Debug] Setting download timeout for 'http://download.xamarin.com/Installer/xamarin-android-sdk.xml' to 60s 
[2017-01-12 10:08:54.229] [Warning] Cannot map element 'lldb' to descriptor type. 
[2017-01-12 10:08:54.229] [Warning] Cannot map element 'lldb' to descriptor type. 
[2017-01-12 10:08:54.231] [Warning] Cannot map element 'lldb' to descriptor type. 
[2017-01-12 10:08:54.231] [Warning] Cannot map element 'lldb' to descriptor type. 
[2017-01-12 10:08:54.232] [Warning] Cannot map element 'licenses' to descriptor type. 
[2017-01-12 10:08:54.433] [Debug] Detecting Android SDK in '/Users/loretoparisi/Library/Developer/Xamarin/android-sdk-macosx' 
[2017-01-12 10:08:54.538] [Debug] Download size for 'http://dl-ssl.google.com/android/repository/android-ndk-r13b-darwin-x86_64.zip': 665967997 
[2017-01-12 10:08:54.538] [Debug] NDK found in '/Users/loretoparisi/Library/Developer/Xamarin/android-ndk/android-ndk-r13b', no update necessary 
[2017-01-12 10:08:54.538] [Error] Failed to find archive for component 'system-image---default'. Tried any:any:64, any:any:0 
[2017-01-12 10:08:54.538] [Error] Android component 'system-image-23-armeabi-v7a-default': archive for OS any and architecture any not found in the manifest 
[2017-01-12 10:08:54.538] [Exception] Attempt to initialize component 'system-image-23-armeabi-v7a-default' failed 
[2017-01-12 10:08:54.538] [Exception] System.InvalidOperationException: No suitable component archive found. 
[2017-01-12 10:08:54.538] [Exception] at Xamarin.Installer.AndroidSDK.AndroidComponentBase.Init (Xamarin.Installer.AndroidSDK.AndroidComponentDescriptorBase descriptor, System.Uri repositoryUrl) [0x0011f] in /Users/builder/data/lanes/4029/b49471af/source/installer/Xamarin.Installer.AndroidSDK/Xamarin.Installer.AndroidSDK/AndroidComponentBase.cs:299 
[2017-01-12 10:08:54.538] [Exception] at Xamarin.Installer.AndroidSDK.AndroidComponentSystemImage.Init (Xamarin.Installer.AndroidSDK.AndroidComponentDescriptorBase descriptor, System.Uri repositoryUrl) [0x00000] in /Users/builder/data/lanes/4029/b49471af/source/installer/Xamarin.Installer.AndroidSDK/Xamarin.Installer.AndroidSDK/AndroidComponentSystemImage.cs:36 
[2017-01-12 10:08:54.538] [Exception] at Xamarin.Installer.AndroidSDK.AndroidComponentDescriptorBase.CreateComponent (System.String baseDownloadUrl, Xamarin.Installer.AndroidSDK.AndroidSDKInstaller installer) [0x00075] in /Users/builder/data/lanes/4029/b49471af/source/installer/Xamarin.Installer.AndroidSDK/Xamarin.Installer.AndroidSDK/AndroidComponentDescriptorBase.cs:196 
[2017-01-12 10:08:54.538] [Info] Status: failed. 
[2017-01-12 10:08:54.538] [Exception] Failed to detect component 'Android SDK' 
[2017-01-12 10:08:54.538] [Exception] System.InvalidOperationException: No suitable component archive found. 
[2017-01-12 10:08:54.538] [Exception] at Xamarin.Installer.AndroidSDK.AndroidComponentBase.Init (Xamarin.Installer.AndroidSDK.AndroidComponentDescriptorBase descriptor, System.Uri repositoryUrl) [0x0011f] in /Users/builder/data/lanes/4029/b49471af/source/installer/Xamarin.Installer.AndroidSDK/Xamarin.Installer.AndroidSDK/AndroidComponentBase.cs:299 

ログを見ると、Android SDKおよびNKDは、まず、デフォルトのフォルダ内で検出されていることと思われますしかし、何かが失敗する。

Xamarin Studio Community Editionがインストールされていて、Android Studioがインストールされているため、必要なコンポーネントはすべて満足する必要があります。

エラーログが

[2017-01-12 10:08:54.538] [Exception] Failed to detect component 'Android SDK' 
[2017-01-12 10:08:54.538] [Exception] System.InvalidOperationException: No suitable component archive found. 
[2017-01-12 10:08:54.538] [Exception] at Xamarin.Installer.AndroidSDK.AndroidComponentBase.Init (Xamarin.Installer.AndroidSDK.AndroidComponentDescriptorBase descriptor, System.Uri repositoryUrl) [0x0011f] in /Users/builder/data/lanes/4029/b49471af/source/installer/Xamarin.Installer.AndroidSDK/Xamarin.Installer.AndroidSDK/AndroidComponentBase.cs:299 
[2017-01-12 10:08:54.538] [Exception] at Xamarin.Installer.AndroidSDK.AndroidComponentSystemImage.Init (Xamarin.Installer.AndroidSDK.AndroidComponentDescriptorBase descriptor, System.Uri repositoryUrl) [0x00000] in /Users/builder/data/lanes/4029/b49471af/source/installer/Xamarin.Installer.AndroidSDK/Xamarin.Installer.AndroidSDK/AndroidComponentSystemImage.cs:36 
[2017-01-12 10:08:54.538] [Exception] at Xamarin.Installer.AndroidSDK.AndroidComponentDescriptorBase.CreateComponent (System.String baseDownloadUrl, Xamarin.Installer.AndroidSDK.AndroidSDKInstaller installer) [0x00075] in /Users/builder/data/lanes/4029/b49471af/source/installer/Xamarin.Installer.AndroidSDK/Xamarin.Installer.AndroidSDK/AndroidComponentDescriptorBase.cs:196 
[2017-01-12 10:08:54.538] [Exception] Detection failed for task Android SDK. 
[2017-01-12 10:08:54.538] [Exception] System.InvalidOperationException: No suitable component archive found. 
[2017-01-12 10:08:54.538] [Exception] at Xamarin.Web.Installer.TasksManager.DetectComponents() [0x00097] in /Users/builder/data/lanes/4029/b49471af/source/installer/Xamarin.Web.Installer/TasksManager.cs:297 
[2017-01-12 10:08:54.539] [Info] Status: failed. 
[2017-01-12 10:08:54.539] [Exception] Initial task interrupted by exception 
[2017-01-12 10:08:54.539] [Exception] System.AggregateException: One or more errors occurred. ---> System.InvalidOperationException: No suitable component archive found. 
[2017-01-12 10:08:54.539] [Exception] at Xamarin.Web.Installer.TasksManager.DetectComponents() [0x00097] in /Users/builder/data/lanes/4029/b49471af/source/installer/Xamarin.Web.Installer/TasksManager.cs:297 
[2017-01-12 10:08:54.539] [Exception] --- End of inner exception stack trace --- 
[2017-01-12 10:08:54.539] [Exception] at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00014] in /Library/Frameworks/Xamarin.Mac.framework/Versions/2.10.0.113/src/mono/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2157 
[2017-01-12 10:08:54.539] [Exception] at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00052] in /Library/Frameworks/Xamarin.Mac.framework/Versions/2.10.0.113/src/mono/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:3189 
[2017-01-12 10:08:54.539] [Exception] at System.Threading.Tasks.Task.Wait (System.Threading.CancellationToken cancellationToken) [0x00000] in /Library/Frameworks/Xamarin.Mac.framework/Versions/2.10.0.113/src/mono/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:3107 
[2017-01-12 10:08:54.539] [Exception] at Xamarin.Web.Installer.TasksManager.WaitForTask (System.Threading.Tasks.Task task, System.String taskName) [0x00084] in /Users/builder/data/lanes/4029/b49471af/source/installer/Xamarin.Web.Installer/TasksManager.cs:165 
[2017-01-12 10:08:54.539] [Exception] ---> (Inner Exception #0) System.InvalidOperationException: No suitable component archive found. 
[2017-01-12 10:08:54.539] [Exception] at Xamarin.Web.Installer.TasksManager.DetectComponents() [0x00097] in /Users/builder/data/lanes/4029/b49471af/source/installer/Xamarin.Web.Installer/TasksManager.cs:297 <--- 
[2017-01-12 10:08:54.648] [Debug] Detection complete on the introduction page, determining the next step. 
+1

私はちょうどエルキャピタンで同様のエラーが発生しました – ErikAGriffin

+1

Mac用Visual Studioは7.xですが、Xamarin Studioは6.xで、Xamarinのビットと依存関係は異なります。したがって、「Xamarin Studio Community Editionがインストールされ、Android Studioがインストールされているため、必要なコンポーネントはすべて満足する必要があります」ということは真実ではありません。回答の1つのように、あなたはバグとして報告し、ベンダーからの解決策を待つべきだと言います。 –

+0

これは部分的には真です。なぜなら、Android Studioを最初にインストールした場合、APIレベル15,19、および21が必要であることに留意して、ほとんどの依存関係が満たされるからです。ツールとプラットフォームツールとビルドツールが自動的にインストールされます。もちろんMonoとその依存関係は、Macインストーラのビジュアルスタジオで使用されている最新のバージョンに更新する必要があります(実際はマイナーチェンジのxamarinスタジオインストーラです)。 – loretoparisi

答えて

6

私は以前と同じ問題を抱えていたし、それを固定し続けています。私は問題を抱えている人がVisual Studio for Mac Webページに行き、インストーラをダウンロードするダウンロードボタンをクリックしたと仮定しています。

  • のAndroid SDKツール
  • のAndroid SDKプラットフォーム・ツール
  • のAndroid SDKのビルド・ツール
  • のAndroid API 15:これが失敗した場合、あなたは以下のとおりであるAndroidのSDK要件のリストを提示しています
  • のAndroid API 19
  • のAndroid API 21

オープン番目e SDK Managerをインストールしてインストールします。 SDKマネージャの私のインストールを起動するためのバイナリは以下の通りです:

  • /ユーザ/マット/ライブラリ/開発/ Xamarin /アンドロイド-SDK-MacOSXの/ツール/アンドロイド

もちろん「マットを代用あなたのユーザー名が何であっても上のパスにあります。これらがインストールされたら、以下をダウンロードする必要があります。

これは、完全なダウンロードではなく、あなたがメインのサイトに乗る20メガバイトのインストーラです。ファイルをクリックしてインストールしてください。とにかく、それは私のために働いた:-)

+0

このソリューションは機能します、ありがとう!私はこの問題の詳細を知り、VSダウンローダパッケージャ(インストーラ)から始まる一般的な解決策を見つけるためにオープンにしておきます。 – loretoparisi

2

私はこの動作をローカルに複製でき、Bug 51529をXamarinバグ追跡システムに提出しました。

+0

ありがとう、これはすぐに修正プログラムを入手するのに役立ちます。 – loretoparisi