Skip to content

Commit 3f21639

Browse files
pjcollinsjonpryor
authored andcommitted
[AndroidDependenciesTests] Use platform-tools 34.0.3 (#8062)
The `InstallAndroidDependenciesTest` has been failing: Failed InstallAndroidDependenciesTest [1 m 39 s] Error Message: Multiple failures or warnings in test: 1) _AndroidSdkDirectory not set to new SDK path `/Users/runner/work/1/a/TestDebug/05-24_20.34.58/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>3</micro>; expected 34.0.1! 2) _AndroidSdkDirectory was not set to new SDK path `/Users/runner/work/1/a/TestDebug/05-24_20.34.58/temp/InstallAndroidDependenciesTest/android-sdk`. Expected: True But was: False Attempt to fix this by bumping the platform-tools version that we try to install during this test to 34.0.3.
1 parent d81914e commit 3f21639

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.1";
35+
const string ExpectedPlatformToolsVersion = "34.0.3";
3636
using (var b = CreateApkBuilder ()) {
3737
b.CleanupAfterSuccessfulBuild = false;
3838
string defaultTarget = b.Target;

0 commit comments

Comments
 (0)