Bug 40218 - An outdated of 'Android SDK Built-tools' when using Xamarin.Android.Support.Vector.Drawable.23.2.1
Summary: An outdated of 'Android SDK Built-tools' when using Xamarin.Android.Support.V...
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: Android
Classification: Xamarin
Component: MSBuild ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Jonathan Pryor
URL:
Depends on:
Blocks:
 
Reported: 2016-04-07 18:53 UTC by Jeremy Kolb
Modified: 2017-06-28 10:28 UTC (History)
10 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NOT_REPRODUCIBLE

Description Jeremy Kolb 2016-04-07 18:53:32 UTC
I see this during my build:

3>C:\Projects\test\MvvmCross-AndroidSupport\packages\Xamarin.Android.Support.Vector.Drawable.23.2.1\build\Xamarin.Android.Support.Vector.Drawable.targets(40,5): error : An outdated of 'Android SDK Build-tools' is in use which this version of Android Support Library does not support.  You must uninstall any 'Android SDK Build-tools' versions older than 23.0.0 from the 'Tools' section in your 'Android SDK Manager'

Why is the support library trying to use an older version of the Android SDK Built-tools?  I have versions 19.1 to 23.0.3 installed.  Why isn't this *one* support library using the latest build tools?!  Why does it try to use an older version that's obsolete?


I bumped the log verbosity up and I see the following form msbuild:

2>Target "VectorDrawableCheckBuildToolsVersionTask" in file "C:\Projects\test\MvvmCross-AndroidSupport\packages\Xamarin.Android.Support.Vector.Drawable.23.2.1\build\Xamarin.Android.Support.Vector.Drawable.targets" from project "C:\Projects\test\MvvmCross-AndroidSupport\MvvmCross.Droid.Support.V7.AppCompat\MvvmCross.Droid.Support.V7.AppCompat.csproj" (target "_UpdateAndroidResgen" depends on it):
2>Using "VectorDrawableCheckBuildToolsVersionTask" task from assembly "C:\Projects\test\MvvmCross-AndroidSupport\packages\Xamarin.Android.Support.Vector.Drawable.23.2.1\build\Xamarin.Android.Support.Tasks.VectorDrawable.dll".
2>Task "VectorDrawableCheckBuildToolsVersionTask"
2>  Checking Android SDK Build-tools version...
2>  Selected Android SDK Build Tools Path: C:\Users\jkolb\AppData\Local\Android\android-sdk\build-tools\21.1.1\
2>  Selected Android SDK Build Tools Version: 21.1.1
2>  Android SDK Build Tools Directory: build-tools
2>  The following Build-tools versions are installed:
2>      19.1.0
2>      20.0.0
2>      21.0.0
2>      21.0.1
2>      21.0.2
2>      21.1.0
2>      21.1.1
2>      21.1.2
2>      22.0.0
2>      22.0.1
2>      23.0.0
2>      23.0.1
2>      23.0.2
2>      23.0.3
2>C:\Projects\test\MvvmCross-AndroidSupport\packages\Xamarin.Android.Support.Vector.Drawable.23.2.1\build\Xamarin.Android.Support.Vector.Drawable.targets(40,5): error : An outdated of 'Android SDK Build-tools' is in use which this version of Android Support Library does not support.  You must uninstall any 'Android SDK Build-tools' versions older than 23.0.0 from the 'Tools' section in your 'Android SDK Manager'
2>Done executing task "VectorDrawableCheckBuildToolsVersionTask" -- FAILED.

Why isn't Xamarin using the latest build tools by default?
Comment 1 Mirjalal 2016-04-13 16:40:30 UTC
I also faced with this problem.
Comment 2 Jeremy Kolb 2016-04-18 20:45:27 UTC
See http://forums.xamarin.com/discussion/64760/outdated-sdk-build-tools-when-trying-to-build for other people hitting this issue.
Comment 3 elhajjaji.anas@gmail.com 2016-05-09 12:25:29 UTC
I'm facing the problem as well, any solution?
Comment 4 Prashant [MSFT] 2017-06-28 10:28:06 UTC
Unfortunately, we’re unable to reproduce this report. If this issue is still occurring for you, please reopen this issue and attach a reproduction to the bug by starting with a clean Xamarin.Android project adding just the code necessary to demonstrate the issue.