Skip to content

Commit

Permalink
[AndroidDependenciesTests] Use platform-tools 34.0.4 (#8184)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pjcollins authored and jonathanpeppers committed Jul 17, 2023
1 parent ee21db8 commit d9c4a2a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public void InstallAndroidDependenciesTest ()
var proj = new XamarinAndroidApplicationProject {
TargetSdkVersion = apiLevel.ToString (),
};
const string ExpectedPlatformToolsVersion = "34.0.3";
const string ExpectedPlatformToolsVersion = "34.0.4";
using (var b = CreateApkBuilder ()) {
b.CleanupAfterSuccessfulBuild = false;
string defaultTarget = b.Target;
Expand Down

0 comments on commit d9c4a2a

Please sign in to comment.