Severity Code Description Project File Line Suppression State
Error Please install package: 'Xamarin.Android.Support.v4' available in SDK installer. Java library file C:\Users\Zeeshan Ahmad\AppData\Local\Xamarin\Android.Support.v4\23.4.0.0\embedded\classes.jar doesn't exist. DrawerLayout_V7_Tutorial
Error Please install package: 'Xamarin.Android.Support.Animated.Vector.Drawable' available in SDK installer. Android resource directory C:\Users\Zeeshan Ahmad\AppData\Local\Xamarin\Android.Support.Animated.Vector.Drawable\23.4.0.0\embedded\./ doesn't exist. DrawerLayout_V7_Tutorial
Error Please install package: 'Xamarin.Android.Support.Animated.Vector.Drawable' available in SDK installer. Java library file C:\Users\Zeeshan Ahmad\AppData\Local\Xamarin\Android.Support.Animated.Vector.Drawable\23.4.0.0\embedded\classes.jar doesn't exist. DrawerLayout_V7_Tutorial
Error Please install package: 'Xamarin.Android.Support.v4' available in SDK installer. Android resource directory C:\Users\Zeeshan Ahmad\AppData\Local\Xamarin\Android.Support.v4\23.4.0.0\embedded\./ doesn't exist. DrawerLayout_V7_Tutorial
Error Please install package: 'Xamarin.Android.Support.v4' available in SDK installer. Java library file C:\Users\Zeeshan Ahmad\AppData\Local\Xamarin\Android.Support.v4\23.4.0.0\embedded\libs/internal_impl-23.4.0.jar doesn't exist. DrawerLayout_V7_Tutorial
Error Please install package: 'Xamarin.Android.Support.v7.AppCompat' available in SDK installer. Android resource directory C:\Users\Zeeshan Ahmad\AppData\Local\Xamarin\Android.Support.v7.AppCompat\23.4.0.0\embedded\./ doesn't exist. DrawerLayout_V7_Tutorial
Error Please install package: 'Xamarin.Android.Support.v7.AppCompat' available in SDK installer. Java library file C:\Users\Zeeshan Ahmad\AppData\Local\Xamarin\Android.Support.v7.AppCompat\23.4.0.0\embedded\classes.jar doesn't exist. DrawerLayout_V7_Tutorial
Error Please install package: 'Xamarin.Android.Support.Vector.Drawable' available in SDK installer. Android resource directory C:\Users\Zeeshan Ahmad\AppData\Local\Xamarin\Android.Support.Vector.Drawable\23.4.0.0\embedded\./ doesn't exist. DrawerLayout_V7_Tutorial
Error Please install package: 'Xamarin.Android.Support.Vector.Drawable' available in SDK installer. Java library file C:\Users\Zeeshan Ahmad\AppData\Local\Xamarin\Android.Support.Vector.Drawable\23.4.0.0\embedded\classes.jar doesn't exist. DrawerLayout_V7_Tutorial
Error Reason: C:\Users\Zeeshan Ahmad\AppData\Local\Xamarin\zips\F16A3455987DBAE5783F058F19F7FCDF.zip is not a valid zip file DrawerLayout_V7_Tutorial
Error Reason: C:\Users\Zeeshan Ahmad\AppData\Local\Xamarin\zips\F16A3455987DBAE5783F058F19F7FCDF.zip is not a valid zip file DrawerLayout_V7_Tutorial
Error Reason: C:\Users\Zeeshan Ahmad\AppData\Local\Xamarin\zips\F16A3455987DBAE5783F058F19F7FCDF.zip is not a valid zip file DrawerLayout_V7_Tutorial
Error Reason: C:\Users\Zeeshan Ahmad\AppData\Local\Xamarin\zips\F16A3455987DBAE5783F058F19F7FCDF.zip is not a valid zip file DrawerLayout_V7_Tutorial
答案 0 :(得分:1)
解决这些错误的最简单方法是删除这些库的本地缓存并尝试重新下载:
如果您遇到自动下载问题,可以手动下载并放置这些库:
最后,如果手动下载失败,您可能需要进一步下载m2repository
:
这些文档是我几个月前写的指南的一部分写的:https://gist.github.com/JonDouglas/f6291eacd4da5f6aa4cd
您还可以看到与上述步骤相同的相关问题:
Build unsuccessful : Error with Android project in Xamarin.Forms
答案 1 :(得分:0)
在首次构建项目/解决方案时,请耐心等待,直到MS Build提示您结果。在第一次构建完成之前,请不要取消构建或不重建解决方案。第一次构建实际上是在后台下载库。
首次构建完成后的情况会给您带来错误,可能是因为互联网连接库已经无法正确下载。然后,您可以关注here。
答案 2 :(得分:-1)
您的问题与您的用户名中的空格有关:
1)C:\ Users \ Zeeshan Ahmad
你可以证明这是真的,创建一个简单名称的新用户,没有空格特征,安装VS2015和xamarin并重新编译。