Solution 1. Then select Android SDK Command-line tools & CMake then Apply . You should then be able to execute the command below without the elevated privileges and accept the licences. After choosing “yes” for all licenses, the android licenses are accepted.
Read moreHow do I agree to android licenses?
You can accept the license agreement by launching Android Studio, then going to: Help > Check for Updates… When you are installing updates, it’ll ask you to accept the license agreement . Accept the license agreement and install the updates, and you are all set.
Read moreIs Android Studio free for commercial use?
Android studio is free to download and use, even for enterprise use . However, if you would like to publish your app to the Google Play Store, it costs $25.
Read more