Automatically accept all SDK licences

后端 未结 30 2166
感情败类
感情败类 2020-11-22 16:35

Since gradle android plugins 2.2-alpha4:

Gradle will attempt to download missing SDK packages that a project depends on

Which

30条回答
  •  情歌与酒
    2020-11-22 17:28

    For the newest Android Studio (2.3) the best way to update/accept all licenses is to run:

    cd $ANDROID_HOME
    tools/bin/sdkmanager --licenses
    

    you might still need to copy the licence files to other locations based on your setup.

提交回复
热议问题