Installation Troubleshooting

Solutions for any issues faced while installing

Android

Accept License Error

* What went wrong:
A problem occurred configuring project ':snap_kit_lib'.
> Failed to install the following Android SDK packages as some licences have not been accepted.
     platforms;android-27 Android SDK Platform 27
  To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
  Alternatively, to transfer the license agreements from one workstation to another, see http://d.android.com/r/studio-ui/export-licenses.html

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 updated