Search Unity

Bug "Failed to Update SDK package list" error when trying to build apk for the Quest 2.

Discussion in 'VR' started by reedybeee, Dec 28, 2020.

  1. reedybeee

    reedybeee

    Joined:
    Jun 17, 2020
    Posts:
    2
    Whenever I try to build an apk for my Oculus Quest 2 it says "Failed to Update SDK package list. See the Console for details". I have both the SDK and JDK set in the Preferences tab and I've been searching for hours but I cant seem to fix it. VERY frustrating. I'm using Unity 2020.2.0f1.
     

    Attached Files:

  2. mfuad

    mfuad

    Unity Technologies

    Joined:
    Jun 12, 2018
    Posts:
    335
    You shouldn't be getting this error if you're using installs from Unity Hub. Try going to Preferences > External Tools, disabling SDK/JDK/NDK, and enabling again. This thread may also be helpful.
     
  3. reedybeee

    reedybeee

    Joined:
    Jun 17, 2020
    Posts:
    2
    I'm using the SDK from the android studio but the JDK and NDK are unchanged