Skip to content

Commit d9c4a2a

Browse files
pjcollinsjonathanpeppers
authored andcommitted
[AndroidDependenciesTests] Use platform-tools 34.0.4 (#8184)
The `InstallAndroidDependenciesTest` test has been failing: _AndroidSdkDirectory not set to new SDK path /Users/runner/work/1/a/TestRelease/07-11_21.59.53/temp/InstallAndroidDependenciesTest/android-sdk, probably because Google's repository has a newer platform-tools package! repository2-3.xml contains platform-tools <major>34</major>.<minor>0</minor>.<micro>4</micro>; expected 34.0.3! Fix this by bumping the platform-tools version that we try to install during this test to 34.0.4.
1 parent ee21db8 commit d9c4a2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/AndroidDependenciesTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public void InstallAndroidDependenciesTest ()
3737
var proj = new XamarinAndroidApplicationProject {
3838
TargetSdkVersion = apiLevel.ToString (),
3939
};
40-
const string ExpectedPlatformToolsVersion = "34.0.3";
40+
const string ExpectedPlatformToolsVersion = "34.0.4";
4141
using (var b = CreateApkBuilder ()) {
4242
b.CleanupAfterSuccessfulBuild = false;
4343
string defaultTarget = b.Target;

0 commit comments

Comments
 (0)