VS 2015 Xamarin: Warning IDE0006 Error encountered while loading the project

前端 未结 7 1165
太阳男子
太阳男子 2020-12-17 21:54

I am developing an Android app using Xamarin.

Visual Studio shows this warning, and I don\'t know what it means. I\'ve followed the instructions but I can\'t seem t

7条回答
  •  隐瞒了意图╮
    2020-12-17 22:29

    i had got this warning for 5 days. i applied this suggestion and problem is end.

    to install package: 'Xamarin.Android.Support.[BLABLA]'

    unzipping has failed: Please download https://dl-ssl.google.com/android/repository/android_m2repository_r22.zip in the C:\Users\[UserName]\AppData\Local\Xamarin\Xamarin.Android.Support.Design\23.0.1.3\content directory

    Reason: File C:\Users\[UserName]\AppData\Local\Xamarin\zips\96659D653BDE0FAEDB818170891F2BB0.zip is not a ZIP archive

    1) Downloading the zip and installing it didn't solve my issues, I got fewer errors, but in general, the messages stayed the same, Please install package [BLABLA], Unzipping failed,...

    2) Next I took a look at the zip file they mention in C:\Users\[UserName]\AppData\Local\Xamarin\zips and indeed, 96659D653BDE0FAEDB818170891F2BB0.zip was corrupt. I deleted this zip, did build my project again, and after the build process (this takes a while, leave it 'building': you see your zip reappear and growing to 135MB) all the previous warnings/errors were gone!

提交回复
热议问题