Unable to use AOT when compiling in VSTS

RossDargan.0957RossDargan.0957 GBInsider, University ✭✭

I'm using continuous integration with Microsofts VSTS but if I enable AOT compilation I get the following error:

Java.Interop.Tools.Diagnostics.XamarinAndroidException: error XA5101: Missing Android NDK toolchains directory '\toolchains'. Please install the Android NDK. [d:\a\1\s\Mobile4Projects\Mobile4Projects.Droid\Mobile4Projects.Droid.CN.csproj]

Turning AOT off resolves the issue.

I'm using the Xamarin.Android build component (https://www.visualstudio.com/en-gb/docs/build/steps/build/xamarin-android)

Does anyone have any suggestions to fix this?



Sign In or Register to comment.