答案 0 :(得分:0)
open your android sdk manager
.
in your case the sdk 23.0.1
is missing license agreement. If its already installed delete it and install it again. On install screen make sure to accept the licence agreement given in radio box.
Clean and build again. Hope it helps.
答案 1 :(得分:0)
确保正确设置了ANDROID_HOME环境变量。
例如,如果它是C:\ Users \%USERNAME%\ AppData \ Local \ Android \ Sdk \ tools \而不是C:\ Users \%USERNAME%\ AppData \ Local \ Android \ Sdk \在您尝试Gradle构建之前,一切似乎都能正常工作。