-
Notifications
You must be signed in to change notification settings - Fork 564
Description
Android application type
Classic Xamarin.Android (MonoAndroid12.0, etc.)
Affected platform version
Azure pipeline
Description
Making use of the Xamarin.Android task we have been able to build and deploy Xamarin.Android applications. New images were released which seems to have affected this task; the NDK path is no longer found when executing the "_ResolveMonoAndroidSdks" step resulting in a build failure.
Reviewing the latest releases for these images, I see there was work around NDK paths, symlinks, and environment variable changes.
actions/runner-images#5879
actions/runner-images#5930
The image we're using is macOS-latest, here are the old and new logs showing the "_ResolveMonoAndroidSdks" step resolving the NDK path:
Old working image (20220724.1)

Do we know if the Xamarin.Android task needs to be updated to reflect this?
Steps to Reproduce
- Make use of the Azure Pipeline Xamarin.Android task for a Xamarin.Android application using the
macOS-latestimage. - See the task eventually fails with
error XA5104: Could not locate the Android NDK. Please make sure the Android NDK is installed in the Android SDK Manager, or if using a custom NDK path, please ensure the $(AndroidNdkDirectory) MSBuild property is set to the custom path.
Did you find any workaround?
No response
Relevant log output
No response
