Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Unable to use AOT when compiling in VSTS

$
0
0

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?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>