Help with Android.SDKManager #3802
Unanswered
nick5454
asked this question in
Extension Q&A
Replies: 1 comment
-
Am I right in saying that this is related to this issue: If so, as mentioned there, these question would best be asked on the repository for the Cake Addin, not on the Cake Repository. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What is the correct way to get a list of installed Android APK's?
Looks like the error is because no SDK's exist on the MS Host. But, it should be an empty list instead.
Version:
Azure Devop Release pipeline - MS Hosted - MacOS-Latest
Cake.CoreCLR v1.1.0
Using this code
#addin "nuget:https://api.nuget.org/v3/index.json??package=Cake.Android.SdkManager&version=3.0.2"
var adbPacks = AndroidSdkManagerList().InstalledPackages;
foreach(var sdkItem in adbPacks) {
Console.WriteLine($"SdkItem = {sdkItem.Description}");
}
i get this error
Beta Was this translation helpful? Give feedback.
All reactions