Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump 'InstallAndroidDependenciesTest' to use PlatformTools 34.0.0 #7800

Merged
merged 1 commit into from
Feb 16, 2023

Conversation

dellis1972
Copy link
Contributor

We are seeing the InstallAndroidDependenciesTest test fail allot recently.
Looking at the logs we see the following warning.

warning : Dependency `platform-tools` should have been installed but could not be resolved. You can attempt to install it with: /Users/dean/Documents/Sandbox/Xamarin/WI1714603/bin/TestRelease/temp/InstallAndroidDependenciesTest/android-sdk/cmdline-tools/7.0/lib/sdkmanager-classpath.jar --install "platform-tools"

As a result platform-tools is not installed. This causes the ResolveSdks task to ignore the test sdk directory because adb is missing. So lets update the AndroidSdkPlatformToolsVersion to use one that does work.

Copy link
Member

@jonathanpeppers jonathanpeppers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test in question passes now:

image

Only failure I see is one lane the emulator didn't boot.

@jonathanpeppers jonathanpeppers merged commit bec42ef into dotnet:main Feb 16, 2023
jonathanpeppers pushed a commit that referenced this pull request Feb 16, 2023
…0.0 (#7800)

We are seeing the `InstallAndroidDependenciesTest` test fail allot
recently. Looking at the logs we see the following warning.

    warning : Dependency `platform-tools` should have been installed but could not be resolved. You can attempt to install it with:
    /Users/dean/Documents/Sandbox/Xamarin/WI1714603/bin/TestRelease/temp/InstallAndroidDependenciesTest/android-sdk/cmdline-tools/7.0/lib/sdkmanager-classpath.jar --install "platform-tools"

As a result `platform-tools` is not installed. This causes the
`ResolveSdks` task to ignore the test sdk directory because `adb` is
missing. So lets update the `AndroidSdkPlatformToolsVersion ` to use
one that does work.
jonathanpeppers pushed a commit that referenced this pull request Feb 16, 2023
…0.0 (#7800)

We are seeing the `InstallAndroidDependenciesTest` test fail allot
recently. Looking at the logs we see the following warning.

    warning : Dependency `platform-tools` should have been installed but could not be resolved. You can attempt to install it with:
    /Users/dean/Documents/Sandbox/Xamarin/WI1714603/bin/TestRelease/temp/InstallAndroidDependenciesTest/android-sdk/cmdline-tools/7.0/lib/sdkmanager-classpath.jar --install "platform-tools"

As a result `platform-tools` is not installed. This causes the
`ResolveSdks` task to ignore the test sdk directory because `adb` is
missing. So lets update the `AndroidSdkPlatformToolsVersion ` to use
one that does work.
@dellis1972 dellis1972 deleted the fixtest branch February 16, 2023 15:11
grendello added a commit to grendello/xamarin-android that referenced this pull request Feb 17, 2023
* main:
  [tests] `InstallAndroidDependenciesTest` can use `platform-tools` 34.0.0 (dotnet#7800)
grendello added a commit to grendello/xamarin-android that referenced this pull request Feb 17, 2023
* main:
  [tests] Bump NUnit versions to latest (dotnet#7802)
  [Microsoft.Android.Sdk.ILLink] target `net7.0` temporarily (dotnet#7803)
  [tests] `InstallAndroidDependenciesTest` can use `platform-tools` 34.0.0 (dotnet#7800)
  Bump to xamarin/Java.Interop/main@9e0a469 (dotnet#7797)
  [Xamarin.Android.Build.Tasks] FileWrites&libraryprojectimports.cache (dotnet#7780)
  Bump to dotnet/installer@d25a3bb 8.0.100-preview.2.23105.6 (dotnet#7769)
  [lgtm] Fix LGTM-reported issues (dotnet#1074)
  [ci] Report issues in the API docs build log (dotnet#7784)
grendello added a commit to grendello/xamarin-android that referenced this pull request Feb 22, 2023
* main:
  [tests] Bump NUnit versions to latest (dotnet#7802)
  [Microsoft.Android.Sdk.ILLink] target `net7.0` temporarily (dotnet#7803)
  [tests] `InstallAndroidDependenciesTest` can use `platform-tools` 34.0.0 (dotnet#7800)
  Bump to xamarin/Java.Interop/main@9e0a469 (dotnet#7797)
  [Xamarin.Android.Build.Tasks] FileWrites&libraryprojectimports.cache (dotnet#7780)
  Bump to dotnet/installer@d25a3bb 8.0.100-preview.2.23105.6 (dotnet#7769)
grendello added a commit to grendello/xamarin-android that referenced this pull request Feb 22, 2023
* main:
  Add Unit Test for testOnly apps (dotnet#7637)
  [build] Only build the latest API level (dotnet#7786)
  [Xamarin.Android.Build.Tasks] Improve aapt2+file not found handling (dotnet#7644)
  [MSBuildDeviceIntegration] Fix duplicated test parameter (dotnet#7809)
  [tests] Bump NUnit versions to latest (dotnet#7802)
  [Microsoft.Android.Sdk.ILLink] target `net7.0` temporarily (dotnet#7803)
  [tests] `InstallAndroidDependenciesTest` can use `platform-tools` 34.0.0 (dotnet#7800)
  Bump to xamarin/Java.Interop/main@9e0a469 (dotnet#7797)
  [Xamarin.Android.Build.Tasks] FileWrites&libraryprojectimports.cache (dotnet#7780)
  Bump to dotnet/installer@d25a3bb 8.0.100-preview.2.23105.6 (dotnet#7769)
grendello added a commit to grendello/xamarin-android that referenced this pull request Feb 22, 2023
* main:
  Add Unit Test for testOnly apps (dotnet#7637)
  [build] Only build the latest API level (dotnet#7786)
  [Xamarin.Android.Build.Tasks] Improve aapt2+file not found handling (dotnet#7644)
  [MSBuildDeviceIntegration] Fix duplicated test parameter (dotnet#7809)
  [tests] Bump NUnit versions to latest (dotnet#7802)
  [Microsoft.Android.Sdk.ILLink] target `net7.0` temporarily (dotnet#7803)
  [tests] `InstallAndroidDependenciesTest` can use `platform-tools` 34.0.0 (dotnet#7800)
  Bump to xamarin/Java.Interop/main@9e0a469 (dotnet#7797)
  [Xamarin.Android.Build.Tasks] FileWrites&libraryprojectimports.cache (dotnet#7780)
  Bump to dotnet/installer@d25a3bb 8.0.100-preview.2.23105.6 (dotnet#7769)
  [lgtm] Fix LGTM-reported issues (dotnet#1074)
  [ci] Report issues in the API docs build log (dotnet#7784)
jonpryor pushed a commit that referenced this pull request Mar 9, 2023
…0.0 (#7800)

We are seeing the `InstallAndroidDependenciesTest` test fail allot
recently. Looking at the logs we see the following warning.

    warning : Dependency `platform-tools` should have been installed but could not be resolved. You can attempt to install it with:
    /Users/dean/Documents/Sandbox/Xamarin/WI1714603/bin/TestRelease/temp/InstallAndroidDependenciesTest/android-sdk/cmdline-tools/7.0/lib/sdkmanager-classpath.jar --install "platform-tools"

As a result `platform-tools` is not installed. This causes the
`ResolveSdks` task to ignore the test sdk directory because `adb` is
missing. So lets update the `AndroidSdkPlatformToolsVersion ` to use
one that does work.
@github-actions github-actions bot locked and limited conversation to collaborators Jan 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants