Я загрузил последнюю версию инструментов Android SDK 24.4.1. Я использовал командную строку для установки SDK. я напечатал
Код: Выделить всё
yDo you accept the license 'android-sdk-license-c81a61d9' [y/n]: y
after that install succeeded.
But when using Gradle 3.1 to build, the follows shows up
You have not accepted the license agreements of the following SDK components:
[Android SDK Platform 23, Android SDK Build-Tools 23.0.1].
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://d.android.com/r/studio-ui/export-licenses.html
I checked
Код: Выделить всё
~/.androidКод: Выделить всё
/opt/android-sdkКод: Выделить всё
licensesИсточник: https://stackoverflow.com/questions/397 ... components
Мобильная версия