Unity 2020: Cannot build for Android

It just gets stuck at “Checking prerequisites - Starting Android Build” forever without showing any error.
It happens in any 2020 version I have tried so far, 2020.1.1f1 being the last one.
It happens even in new empty projects.
I can build for Android without any problem in Unity 2019 versions.
Thank you.

1 Like

Agreed. 2020 1.1f froze while trying to build android project for me as well. I had to remake the project in 2019 4.7 to build it successfully.
I believe I got some error about sdk not found for current project (2020) but I checked the installs and found the openjdk was already installed. I deselected the default sdk and jdk (checkboxes in external tools in preferences) and rechecked them and restarted the 2020 project. It did not complain about missing sdk after that but trying to build an adroid project froze and could not be canceled even up to 30 minutes or more later.
Sorry I cannot replicate the error report window again.

1 Like

I’m using 2020.1.0f1 and it works fine, running ubuntu 18.04

1 Like

It started working again for me with the 2020.1.2f1 update :slight_smile:

1 Like

I tried reproducing this locally and wasn’t able to, so I’m glad the newer build workout out for you!

1 Like

This is because of the bad internet connection. Unity is probably checking for an SDK update and can’t reach the server.
In my case I accidentally enabled double VPN which does not let the internet to pass through. I disabled my VPN and even without restarting - unity built the project.

So check your internet connection.

1 Like