2013-04-10 49 views
6

Tôi đang cố gắng cài đặt Xamarin cho Android và tôi đang gặp một số sự cố và tôi không thể tìm thấy bất kỳ trợ giúp nào ở bất kỳ đâu. Thậm chí, tôi đã cố gắng để chạy cài đặt as Administrator nhưng cùng một lỗi xuất hiện giữ:
Đây là Log File Error Part:Xamarin Vấn đề cài đặt

[2013-04-10 23:20:27.396] [Info] Installing an MSI 
[2013-04-10 23:20:27.400] [Info] Database path: <USER_HOME>\Temp\Xamarin\downloads\mono-android-4.6.02001.msi 
[2013-04-10 23:20:27.404] [Info] Starting MSI installation: msiexec /i "<USER_HOME>\Temp\Xamarin\downloads\mono-android-4.6.02001.msi" /quiet /passive /log "<USER_HOME>\Temp\tmp76AB.tmp" ADDLOCAL=MonoDroidSDK,VisualStudioAddin,VisualStudio11Addin 
[2013-04-10 23:20:27.608] [Info] MSI installation process exited with code 1620 
[2013-04-10 23:20:27.611] [Info] Status: failed. 
[2013-04-10 23:20:27.615] [Info] InstallMsi failed for '<USER_HOME>\Temp\Xamarin\downloads\mono-android-4.6.02001.msi' 
[2013-04-10 23:20:27.618] [Exception] Exception was thrown. 
[2013-04-10 23:20:27.618] [Exception] System.InvalidOperationException: MSI execution failed. 
[2013-04-10 23:20:27.618] [Exception] à Xamarin.Web.Installer.WindowsInstallationArchiveHandler.InstallMsi(String file, Boolean needsPrivileges) 
[2013-04-10 23:20:27.621] [Info] BEGIN >>>>>> msiexec log: '<USER_HOME>\Temp\tmp76AB.tmp' 
[2013-04-10 23:20:27.626] [Info] END >>>>>> msiexec log: '<USER_HOME>\Temp\tmp76AB.tmp' 
[2013-04-10 23:20:27.629] [Info] Status: failed. 
[2013-04-10 23:20:27.632] [Exception] Installation of software item 'Xamarin.Android for Visual Studio and Xamarin Studio' failed with exception. 
[2013-04-10 23:20:27.632] [Exception] Xamarin.Web.Installer.InstallException: Installation of archive '<USER_HOME>\Temp\Xamarin\downloads\mono-android-4.6.02001.msi' failed with exception. ---> System.InvalidOperationException: MSI execution failed. 
[2013-04-10 23:20:27.632] [Exception] à Xamarin.Web.Installer.WindowsInstallationArchiveHandler.InstallMsi(String file, Boolean needsPrivileges) 
[2013-04-10 23:20:27.632] [Exception] à Xamarin.Web.Installer.Installer.InstallationArchiveHandler.Install(String path, Boolean needsPrivileges) 
[2013-04-10 23:20:27.632] [Exception] --- Fin de la trace de la pile d'exception interne --- 
[2013-04-10 23:20:27.632] [Exception] à Xamarin.Web.Installer.Installer.InstallationArchiveHandler.Install(String path, Boolean needsPrivileges) 
[2013-04-10 23:20:27.632] [Exception] à Xamarin.Web.Installer.Installer.BaseSoftwareItem.Install(UInt32 tryNumber) 
[2013-04-10 23:20:27.632] [Exception] à WindowsInstaller.ProgressPage.InstallationWorker() 
[2013-04-10 23:20:27.635] [Info] Status: failed. 
[2013-04-10 23:20:27.638] [Debug] Starting installation complete task. 
[2013-04-10 23:20:27.641] [Info] Background installation worker completed. 
[2013-04-10 23:20:27.644] [Info] Installation completed with failure 
[2013-04-10 23:20:27.647] [Info] Status: failed. 
+0

Bạn có thể có nhiều may mắn hơn tại Xamarin: http://forums.xamarin.com/categories/android –

Trả lời

2

Tôi chỉ có cùng một vấn đề cho lần thứ hai.

Dưới đây là các bước mà cho phép tôi để giải quyết nó:

  1. Gỡ bỏ tất cả các sản phẩm Xamarin (Xamarin Android, Xamarin Studio vv)
  2. Đến C: \ Program Files (x86) \ Microsoft Visual Studio 10.0 \ Common7 \ IDE \ Tiện ích mở rộng và xóa thư mục Xamarin
  3. Đi tới C: \ Program Files (x86) \ Microsoft Visual Studio 11.0 \ Common7 \ IDE \ Tiện ích mở rộng và xóa thư mục Xamarin
  4. Cài đặt Xamarin Studio hoặc chỉ đơn thuần là android -4.8.00013.msi khi bạn cần

Tôi Hy vọng nó sẽ giúp (và hy vọng vấn đề sẽ không xảy ra một lần nữa ...)

Các vấn đề liên quan