You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our product requires NDK r19 (yes, I realize this is super old). For months, we've had the below PWSH in an in-line PWSH task that has worked just fine on windows-2022 template:
With the release of 20231205, we're now getting errors stating "Install-AndroidSDKPackages" cannot be found:
Install-AndroidSDKPackages : The term 'Install-AndroidSDKPackages' is not recognized as a name of a cmdlet, function, script file, or executable program.
After further investigation, I believe this is related to #8877 - which is fine, we just want some guidance.
Platforms affected
Azure DevOps
GitHub Actions - Standard Runners
GitHub Actions - Larger Runners
Runner images affected
Ubuntu 20.04
Ubuntu 22.04
macOS 11
macOS 12
macOS 13
Windows Server 2019
Windows Server 2022
Image version and build link
20231205.1.0
Is it regression?
yes. Did NOT happen on 20231126.1.0
Expected behavior
The script to install NDK r19 as it previously was
Actual behavior
Get below error
Install-AndroidSDKPackages : The term 'Install-AndroidSDKPackages' is not recognized as a name of a cmdlet, function, script file, or executable program.
Repro steps
Create a pipeline.yml to run the following PWSH task on a windows-2022 Microsoft-Hosted agent:
Description
Our product requires NDK r19 (yes, I realize this is super old). For months, we've had the below PWSH in an in-line PWSH task that has worked just fine on windows-2022 template:
With the release of 20231205, we're now getting errors stating "Install-AndroidSDKPackages" cannot be found:
The script came from answers to these issues:
Any assistance would be MUCH appreciated.
After further investigation, I believe this is related to #8877 - which is fine, we just want some guidance.
Platforms affected
Runner images affected
Image version and build link
20231205.1.0
Is it regression?
yes. Did NOT happen on 20231126.1.0
Expected behavior
The script to install NDK r19 as it previously was
Actual behavior
Get below error
Repro steps
Create a pipeline.yml to run the following PWSH task on a windows-2022 Microsoft-Hosted agent:
Edit:
I have fixed the issue by replacing the below line:
With this:
I hope this helps someone else who may be having same issue. Please feel free to close this.
The text was updated successfully, but these errors were encountered: