android: VS 15.6.4 - Xamarin Android App - Intallation Errors: XA5209 Unzipping failed

Steps to Reproduce

  1. In VS 2017 15.6.4 create a Xamarin.Forms app using MasterDetail template and .Net Core library option
  2. You will see the error during creation of the Xamarin.Android project as well as during the rebuild process. ( VS 2017 15.7.2 preview doesn’t throw this error. I have that preview running on my same PC in side by side )
  3. Sample project attached as below - XF1564Apps.zip

Expected Behavior

Application to be created and compiled

Actual Behavior

Expected behavior is Visual Studio GA release to work flawlessely without causing our productivity loss. These releases have utterly poor quality. Please have a rigor to test VS Xamarin releases on both MAC and Windows tested thoroughly. We don’t need Xamarin engineering team members just to support and celebrate Apple platform for the delivery. This is really getting annoying. Please improve quality, performance and stability in these releases.

See the console output attached below - …

Severity Code Description Project File Line Suppression State Error An error occurred trying to install required android components on Project ‘XFHello1564.Android’. Project ‘XFHello1564.Android’ requires the following components installed on your machine: Xamarin.Android.Support.CustomTabs JavaLibraryReference: https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip-m2repository/com/android/support/customtabs/23.3.0/customtabs-23.3.0.aar-23.3.0.0 AndroidResources: https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip-m2repository/com/android/support/customtabs/23.3.0/customtabs-23.3.0.aar-23.3.0.0

Please double-click here to install it.

Intallation Errors: XA5209 Unzipping failed. Please download ‘https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip’ and extract it to the ‘C:\Users*\AppData\Local\Xamarin\Xamarin.Android.Support.CustomTabs\23.3.0.0\content’ directory XA5209 Reason: Could not find a part of the path 'C:\Users*\AppData\Local\Xamarin\Xamarin.Android.Support.CustomTabs\23.3.0.0\content\m2repository'. XA5207 Please install package: ‘Xamarin.Android.Support.CustomTabs’ available in SDK installer. Java library file ‘C:\Users*\AppData\Local\Xamarin\Xamarin.Android.Support.CustomTabs\23.3.0.0\content\classes.jar’ doesn’t exist. 0

…

A warning displayed as - The project type included Xamarin Forms app using master detail and .net core library options. Target OS included Andorid, iOS and UWP. … Cleaning of the solution fails as well Cleaning of the solution also throws error on the windows status bar with the message “Clean Cancelled”

Version Information

Windows 10 64 bit; VS 2017 15.6.4| Andoroid API min 23 max 27| VS Android Emulator using API 23

Log File

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 15 (2 by maintainers)

Most upvoted comments