I installed latest Android studio on Arch Linux PC using instructions mentioned on official website. But I am not able to build my program, as this error is showing :
Failed to install the following Android SDK packages as some licences have not been accepted. build-tools;29.0.2 Android SDK Build-Tools 29.0.2
I tried to follow some answers on SO and elsewhere that say to execute sdkmanager --licenses
and accept the licences. But I'm not able to locate it. I tried searching for it in /opt/android_studio/bin/
where I had installed it and in /home/user/Android/Sdk/
but could'nt find it.