Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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

# macos:
export JAVA_HOME=/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home
yes | ~/Library/Android/sdk/tools/bin/sdkmanager --licenses

# windows:
%ANDROID_HOME%/tools/bin/sdkmanager --licenses

# GNU/Linux Distributions:
yes | ~/Android/Sdk/tools/bin/sdkmanager --licenses
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Failed #install #Android #SDK #packages #licences
ADD COMMENT
Topic
Name
7+3 =