Xamarian.android build failure

#1

My build suddenly started failing with below errors.

“/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.[REDACTED]s(710,2): error XA5207: Could not find android.jar for API level 2”.This means the Android SDK platform for API level 25 is not installed. Either install it in the Android SDK Manager (Tools > Open Android SDK Manager…), or change the Xamarin.Android project to [REDACTED] an API version that is installed. (/Users/vagrant/Library/Developer/Xamarin/android-sdk-macosx/platforms/android-25/android.jar missing.)

I am not getting any error when building locally in my laptop. Build was fine until few days back when i noticed there was an upgrade in agent version .

Previous Agent Version where my build as fine
Agent version:1.13.0
Hostname:|prd-atl-std-y-vs4mac-stable-200716002314-j7v548yckJiGyFRVW28cyQ.local

Latest Agent Version
Agent version:1.13.1
Hostname:|prd-atl-std-g-vs4mac-stable-200723000239-AMYsJ636XFmYFjbCeGNs7o.local

Is there any issues in latest versions? is there a way to use old version of build agent ?

0 Likes