Build warning "java.io.FileNotFoundException: google-tv/sys-img2-1.xml"

Since today, building an Android Player with Unity 2019.4.20f1 outputs the following error:

Is Unity relying on this file for the build process? Because this file seems to be gone now.

Android PostProcess task "Checking prerequisites" took 7,9522 ms
DisplayProgressbar: Detect Java Development Kit (JDK)
Android PostProcess task "Detect Java Development Kit (JDK)" took 142,3398 ms
DisplayProgressbar: Detecting Android SDK
java.io.FileNotFoundException: https://dl.google.com/android/repository/sys-img/google-tv/sys-img2-1.xml
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
UnityEditor.Android.AndroidSDKTools:smile:etectErrorsAndWarnings(String, String, String[])
UnityEditor.Android.AndroidSDKTools:RunAndroidSdkTool(String, String, Boolean, String, String, String[])
UnityEditor.Android.AndroidSDKTools:ListComponentsVersions()
UnityEditor.Android.SDKManager:UpdatePackagesList()
UnityEditor.Android.SDKManager:HighestVersionInstalled(Component)
UnityEditor.Android.PostProcessor.Tasks.SDKToolsDetector:GetVersion()
UnityEditor.Android.PostProcessor.Tasks.SDKComponentDetector:smile:etect(Version, ProgressHandler)
UnityEditor.Android.PostProcessor.Tasks.CheckAndroidSDK:EnsureSDKComponentVersion(Version, SDKComponentDetector)
UnityEditor.Android.PostProcessor.Tasks.CheckAndroidSDK:Execute(PostProcessorContext)
UnityEditor.Android.PostProcessor.PostProcessRunner:RunAllTasks(PostProcessorContext)
UnityEditor.Android.PostProcessAndroidPlayer:PrepareForBuild(BuildOptions, BuildTarget)
UnityEditor.Android.AndroidBuildPostprocessor:PrepareForBuild(BuildOptions, BuildTarget)
UnityEditor.PostprocessBuildPlayer:PrepareForBuild(BuildOptions, BuildTargetGroup, BuildTarget)
UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions, Boolean)
UnityEditor.BuildPipeline:BuildPlayerInternal(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions)
UnityEditor.BuildPipeline:BuildPlayer(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions)
UnityEditor.BuildPipeline:BuildPlayer(BuildPlayerOptions)

Opening the Player Settings window outputs the same message as warning.

Seems like Android SDK is relying on this when updating packages, do you by any chance use custom Android SDK location?

Thank you for the quick response. It looks like I use the embedded Android SDK.

7113973--848977--upload_2021-5-6_15-16-34.png

This is a Jenkins build server btw, running Windows Server. In case it makes a difference.

Maybe it’s blocking something, Unity is basically executing:

builds\tools\bin\sdkmanager.bat --list

try checking, if this command succeeds on your build server.

Edit: I just tried locally and there’s indeed

Warning: java.io.FileNotFoundException: https://dl.google.com/android/repository/sys-img/google-tv/sys-img2-1.xml

But it’s just a warning. In any case, this comes from Google’s Android SDK, maybe they’ll fix it in future releases.

Thank you again for the speedy response. So I just ignore it and cross fingers that Google notices there is an issue and fixes it. Roger that!

Noticed same still in Unity…

Off topic - have you a Jenkins build server setup for creating builds? Is there any reference for doing this?