Automatically accept all SDK licences

后端 未结 30 2130
感情败类
感情败类 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:29

    Copy the entire licenses/ directory and paste it into the Android SDK home directory on the machine where you wish to build your projects.

    https://developer.android.com/studio/intro/update.html#download-with-gradle

    this resolved the issue for me

提交回复
热议问题