Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Question Android sdk not found or invalid.

Discussion in 'Editor & General Support' started by karansinghsengar, May 27, 2020.

  1. karansinghsengar

    karansinghsengar

    Joined:
    Jun 26, 2019
    Posts:
    8
    I have installed multiple versions of unity 2019.3.x but none of them are building app for android platform. I installed the whole android module from the hub itself. Then also unity is not detecting the sdk. When I am doing it manually using the android studio. It is not working there also.
    Please help. I have gone through all the posts and nothing is working for me.
     
  2. Hiddenworlds225

    Hiddenworlds225

    Joined:
    Apr 18, 2017
    Posts:
    32
    you need to manually install them. Either through Android Studio or by downloading the packets and installing then in the correct folder.

    If you are doing the file install, here, this is the SDK extracted from my version on 2019.3.14f1.

    https://drive.google.com/open?id=18WoexM2ERvrJOATy6krQhdDW2PVKY9bq

    Extract that to here:
    C:\Program Files\Unity\Hub\Editor\2019.3.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK

    Just change it to whatever version you got. It should work.
     
  3. karansinghsengar

    karansinghsengar

    Joined:
    Jun 26, 2019
    Posts:
    8
    Thanks for the quick repl.
    But the issue is again the same even after replacing the files.
     
  4. Hiddenworlds225

    Hiddenworlds225

    Joined:
    Apr 18, 2017
    Posts:
    32
    huh, that's strange, so just use android studio. Install through there and then set the destination to the files.
     
  5. karansinghsengar

    karansinghsengar

    Joined:
    Jun 26, 2019
    Posts:
    8
    Brother, I already mentioned that i also used the sdk from android studio. Still things are not working. Does it have any connection with the windows registry? I think its some other issue.
     
  6. Hiddenworlds225

    Hiddenworlds225

    Joined:
    Apr 18, 2017
    Posts:
    32
    I don't know then, sorry. It must be an issue with your version.