Installing android-sdk doesn't install the sdkmanager tool
I'm using Ubuntu 18.04. I installed the Android SDK using:
```
sudo apt-get update
sudo apt-get install android-sdk
```
However, I'm stuck at this error I'm getting while trying to build my app with Gradle:
```
Checking the license for package Android SDK Build-Tools 25.0.1 in /usr/lib/
Warning: License for package Android SDK Build-Tools 25.0.1 not accepted.
Checking the license for package Android SDK Platform 25 in /usr/lib/
Warning: License for package Android SDK Platform 25 not accepted.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> You have not accepted the license agreements of the following SDK components:
[Android SDK Build-Tools 25.0.1, Android SDK Platform 25].
Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.
Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://
```
According to StackOverflow, the way to fix this is to do `yes | $ANDROID_
Please help?
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask James Ko for more information if necessary.