Unity cannot find android modules after installing using unity hub

Hello.
I am on Manjaro Linux. I have installed android modules and unity 2020 LTS. But when I try to build, it says No Android Module Loaded Also, I am unable to set the android SDK location because there is no option for it in Preferences.
I did a fresh install because I thought that will fix the problem but it didn’t.


7086508--843634--upload_2021-4-28_19-55-14.png

I found the logs, and this is the issue.

Trying to register platform support module: /home/bharat/Unity/Hub/Editor/2020.3.5f1/Editor/Data/PlaybackEngines/AndroidPlayer/UnityEditor.Android.Extensions.dll (that doesn’t exist). Retrying without overrides.
Platform support module is not available: /home/bharat/Unity/Hub/Editor/2020.3.5f1/Editor/Data/PlaybackEngines/AndroidPlayer/UnityEditor.Android.Extensions.dll

I am managed to fix it, had to install some packages and reinstall unity. Install the obsolete gconf package and cpio. cpio package isn’t mentioned in the dependency list on the forum I think.