Closed nick5454 closed 2 years ago
@nick5454 are you talking about this addin:
https://github.com/cake-contrib/Cake.Android.SdkManager
If so, this repository is not the right place to ask questions about this.
I'm closing this, because there are a lot of issues with the extension. I'll create a PR in the extension for the fixes.
Prerequisites
Cake runner
Cake runner for .NET Core
Cake version
1.1.0
Operating system
macOS
Operating system architecture
64-Bit
CI Server
Azure Devops
What are you seeing?
I am getting an exception on GetAlternateToolPaths and no Android SDK's exist on the clean MacOs MS Host in Azure. This is reproducible locally if your Android SDK's are not in your path ( Environment Variable's Path )
What is expected?
the Cake.AndroidSDKManager should return an empty list of SDK's on the AndroidSDKManagerList.InstalledPackages
Steps to Reproduce
Any PC or Mac that does not have Android SDK Directories in the Path environment variable will cause this error.
See attached cake build. change the #tool to the nuget.
Everytime it runs and does not find an SDK, it throws an exceptio Cake.Local.Test.zip n
Output log