Skip to content

Commit 8b613c2

Browse files
authored
[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 a850d81 commit 8b613c2

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
@@ -36,7 +36,7 @@ public void InstallAndroidDependenciesTest ()
3636
var proj = new XamarinAndroidApplicationProject {
3737
TargetSdkVersion = apiLevel.ToString (),
3838
};
39-
const string ExpectedPlatformToolsVersion = "34.0.3";
39+
const string ExpectedPlatformToolsVersion = "34.0.4";
4040
using (var b = CreateApkBuilder ()) {
4141
b.CleanupAfterSuccessfulBuild = false;
4242
string defaultTarget = b.Target;

0 commit comments

Comments
 (0)