You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ci] install Android dependencies on all lanes (#1153)
A build on main failed with:
error XA5207: Could not find android.jar for API level 36. This means the Android SDK platform for API level 36 is not installed; it was expected to be in `/Users/builder/Library/Developer/Xamarin/android-sdk-macosx/platforms/android-36/android.jar`. [/Users/builder/azdo/_work/5/s/generated/org.jetbrains.kotlinx.atomicfu-jvm/org.jetbrains.kotlinx.atomicfu-jvm.csproj::TargetFramework=net10.0-android]
error XA5207: You can install the missing API level by running `dotnet build -t:InstallAndroidDependencies -f net10.0-android "-p:AndroidSdkDirectory=/Users/builder/Library/Developer/Xamarin/android-sdk-macosx"`, or change the project to target an API version that is installed. [/Users/builder/azdo/_work/5/s/generated/org.jetbrains.kotlinx.atomicfu-jvm/org.jetbrains.kotlinx.atomicfu-jvm.csproj::TargetFramework=net10.0-android]
error XA5207: See https://aka.ms/xa5207 for more details.
Let's move the condition so the `InstallAndroidDependencies` target
runs no matter what.
0 commit comments