【发布时间】:2018-04-30 17:43:24
【问题描述】:
我已下载 adt-bundle-windows-x86_64-20130219 并在 Android SDK 根目录中应用 $ANDROID_HOME/sdk 在 Jenkins 的配置系统中。
我的错误是:
* What went wrong:
A problem occurred configuring project ':app'.
> You have not accepted the license agreements of the following SDK
components:
[Android SDK Build-Tools 25.0.2, Android SDK Platform 25].
Before building your project, you need to accept the license agreements and
complete the installation of the missing components using the Android
Studio SDK Manager.
Alternatively, to learn how to transfer the license agreements from one
workstation to another, go to http://d.android.com/r/studio-ui/export-
licenses.html
我看过很多教程,我需要在 $ANDROID_HOME/tools/bin 运行 ./sdkmanager --licenses
。但真正的问题是我的广告捆绑包中没有 BIN。这是我的目录:C:\Users\user\Desktop\Gradle\adt-bundle-windows-x86_64-20130219\sdk\tools。 bin 文件夹丢失,我没有。我是否下载了错误的 sdk 工具?我还运行 SDK 管理器,不幸的是工具中缺少 bin 文件夹。
詹金斯工作中的其他信息: 我只是调用 gradle 脚本并添加任务:packageDebug
【问题讨论】:
标签: android gradle sdk android-sdk-tools gradlew