Monday, July 13, 2020

Failed to install the following Android SDK packages as some licences have not been accepted.



Failed to install the following Android SDK packages as some licences have not been accepted.
build-tools;28.0.3 Android SDK Build-Tools 28.0.3 platforms;android-28 Android SDK Platform 28 If you stumbled upon the same error, then you could try these:

`yes | ./sdkmanager "platforms;android-28"`
`yes | ./sdkmanager "build-tools;28.0.3"`
`yes | ./sdkmanager --licenses`
You could find your sdkmanager executeable in linux by

$ locate sdkmanager

or

$ find / -name "sdkmanager"

Hope it helps.