Installation Troubleshooting
Solutions for any issues faced while installing

Android

Accept License Error

1
* What went wrong:
2
A problem occurred configuring project ':snap_kit_lib'.
3
> Failed to install the following Android SDK packages as some licences have not been accepted.
4
platforms;android-27 Android SDK Platform 27
5
To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
6
Alternatively, to transfer the license agreements from one workstation to another, see http://d.android.com/r/studio-ui/export-licenses.html
Copied!
This happens when you don't accept licences when installing your build tools in Android SDK.

Solution

Execute the following commands based on the platform
Platform
Command
OSX
$ANDROID_HOME/tools/bin/sdkmanager --licenses
Windows
%ANDROID_HOME%/tools/bin/sdkmanager --licenses
ANDROID_HOME is the path for android SDK.
Last modified 2yr ago
Copy link