在将Android.Support库v7 AppCompat更新到21.0.3版本后,我遇到了以下错误:
1>C:\Program Files (x86)\MSBuild\Xamarin\Androi\Xamarin.Android.Common.targets(236,2): error XA5207: Please install package: 'Android Support Library' available in SDK installer. Java library file C:\Users...\AppData\Local\Xamarin\Android.Support.v4\21.0.3\embedded\classes.jar doesn't exist.
1>C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(236,2): error XA5207: Please install package: 'Android Support Library' available in SDK installer. Java library file C:\Users...\AppData\Local\Xamarin\Android.Support.v4\21.0.3\embedded\libs/internal_impl-21.0.3.jar doesn't exist.
1>C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(236,2): error XA5206: Please install package: 'Android Support Library' available in SDK installer. Android resource directory C:\Users...\AppData\Local\Xamarin\Android.Support.v4\21.0.3\embedded./ doesn't exist.
我尝试从SDK管理器中删除Android支持库21.0.3,并重新下载。
有类似的问题:Android支持库和Media Router .jar文件找不到,但是我没有在我的项目中使用地图。我该怎么解决?
我正在使用Visual Studio 2013, 使用API 21进行编译(Xamarin.Android v5.0支持), 最小目标API为16, 目标API为21。