From a509778d5055537d62cef49fda69ff02edfe171e Mon Sep 17 00:00:00 2001 From: Dean Ellis Date: Sun, 14 Apr 2024 21:26:33 +0100 Subject: [PATCH] accpet licences --- build/BuildFrameworksTasks/BuildAndroidTask.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/build/BuildFrameworksTasks/BuildAndroidTask.cs b/build/BuildFrameworksTasks/BuildAndroidTask.cs index b848c19e9f9..b591395bbd6 100644 --- a/build/BuildFrameworksTasks/BuildAndroidTask.cs +++ b/build/BuildFrameworksTasks/BuildAndroidTask.cs @@ -9,6 +9,7 @@ public sealed class BuildAndroidTask : FrostingTask public override void Run(BuildContext context) { var arguments = new DotNetMSBuildSettings(); arguments.WithProperty("AndroidSdkDirectory", System.Environment.GetEnvironmentVariable ("ANDROID_HOME")); + arguments.WithProperty("AcceptAndroidSDKLicenses", "true"); arguments.WithTarget("InstallAndroidDependencies"); var installSettings = new DotNetBuildSettings {