Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question FileNotFoundException https://dl.google.com/android/repository/sys-img/android-desktop/sys-img2-1.xm

Discussion in 'Android' started by khrysller, Apr 20, 2022.

  1. khrysller

    khrysller

    Joined:
    Mar 14, 2019
    Posts:
    125
    I think this is related to the Android SDK. I am receiving this warning on console. Tried to access the file on internet and yeah, got a 404.

    Code (CSharp):
    1.  java.io.FileNotFoundException: https://dl.google.com/android/repository/sys-img/android-desktop/sys-img2-1.xml
    2. System.Threading.ThreadHelper:ThreadStart ()
    3.  
    Just curious about the impact.
     
  2. ChescoRed

    ChescoRed

    Joined:
    Sep 29, 2018
    Posts:
    31
  3. angelarcas

    angelarcas

    Joined:
    Jun 9, 2018
    Posts:
    3
  4. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,663
    It seems google removed that file on their server, but as far as I know this is a warning? Does this somehow prevents your build from finishing?
     
  5. khrysller

    khrysller

    Joined:
    Mar 14, 2019
    Posts:
    125
    Yeah it's a warning and it does not prevent the build to be completed. I was just curious if there's any side effects.
     
  6. kkl888

    kkl888

    Joined:
    Dec 6, 2014
    Posts:
    52
    Same here
    java.io.FileNotFoundException: https://dl.google.com/android/repository/sys-img/android-desktop/sys-img2-1.xml
    UnityEditor.BuildPipeline:BuildPlayer (string[],string,UnityEditor.BuildTarget,UnityEditor.BuildOptions)


    Would it break anything?

    Unity 2021.3.1f1
     
  7. YalovoyTV

    YalovoyTV

    Joined:
    Jan 24, 2022
    Posts:
    1
    I had the same problem in Unity 2019.4.18f1

    I just rebooted my Unity project and that exception is disappear
     
  8. khrysller

    khrysller

    Joined:
    Mar 14, 2019
    Posts:
    125
    Probably if you enter on player settings it will show up again
     
  9. Janakisundaram

    Janakisundaram

    Joined:
    Nov 15, 2021
    Posts:
    1
  10. Gigacee

    Gigacee

    Joined:
    Mar 4, 2015
    Posts:
    52
    Same issue in Unity 2021.3.1f1.
    It seems that this warning will be logged when I open Project Settings > Player > Android.
    I tried to delete `Library/` directory and reboot but still happen.

    upload_2022-4-29_0-4-14.png
     
  11. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,663
    The warning comes from Android SDK, when executing sdkmanager --list command, Unity occasionally calls this command when you open Player Settings for Android.
     
  12. SGJPile

    SGJPile

    Joined:
    Apr 11, 2022
    Posts:
    6
    I'm getting this message as well just from running any options on sdkmanager from command line in Unity 2020.3.15f2 (required by our hardware) (That is, more than just "sdkmanager --list"

    We run this command line with various values in our new machine setup or when we upgrade Unity to ensure we have the correct build-tools, platform-tools, and platforms.

    I'm concerned that this is the reason I'm seeing problems with updating my build-tools especially if this means a hard-coded server is no longer available.
    Update/Correction: It is not blocking my installs. But it is an annoying warning. :)
     
    Last edited: Apr 29, 2022
  13. vaibhavTrigensoft

    vaibhavTrigensoft

    Joined:
    Nov 15, 2021
    Posts:
    10
    Same problem...
     
  14. migii19790624

    migii19790624

    Joined:
    Nov 21, 2021
    Posts:
    2
    Same problem. me too.
     
  15. migii19790624

    migii19790624

    Joined:
    Nov 21, 2021
    Posts:
    2
    I get an error when I try to change PlayerSettings in InitializeOnLoad. Removing these solved the problem.