Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
526 views
in Technique[技术] by (71.8m points)

visual studio 2013 - Error after updating the Android.Support Library v7 AppCompat to the 21.0.3 version

after updating the Android.Support Library v7 AppCompat to the 21.0.3 version I've got this errors:

1>C:Program Files (x86)MSBuildXamarinAndroiXamarin.Android.Common.targets(236,2): error XA5207: Please install package: 'Android Support Library' available in SDK installer. Java library file C:Users...AppDataLocalXamarinAndroid.Support.v421.0.3embeddedclasses.jar doesn't exist.

1>C:Program Files (x86)MSBuildXamarinAndroidXamarin.Android.Common.targets(236,2): error XA5207: Please install package: 'Android Support Library' available in SDK installer. Java library file C:Users...AppDataLocalXamarinAndroid.Support.v421.0.3embeddedlibs/internal_impl-21.0.3.jar doesn't exist.

1>C:Program Files (x86)MSBuildXamarinAndroidXamarin.Android.Common.targets(236,2): error XA5206: Please install package: 'Android Support Library' available in SDK installer. Android resource directory C:Users...AppDataLocalXamarinAndroid.Support.v421.0.3embedded./ doesn't exist.

I tried deleting the Android Support Library 21.0.3 from the SDK manager and download it again.

There is similar question: Android Support Library and Media Router .jar files cannot be found however I am not using map in my project. How do I fix this?

I'm using Visual Studio 2013, Compile using API 21 (Xamarin.Android v5.0 Support), Minimum terget API 16, Terget API 21

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
  1. Delete folder: 21.0.3 (...AppDataLocalXamarinAndroid.Support.v421.0.3)
  2. Rebuild your application.

    Works fine to me:

VS xamarin


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...