Skip to content

Commit 4f20566

Browse files
pjcollinsjonpryor
authored andcommitted
[AndroidDependenciesTests] Use platform-tools 34.0.4 (dotnet#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 66e05dd commit 4f20566

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

0 commit comments

Comments
 (0)