我已下载adt-bundle-windows-x86_64-20130219
并在Jenkins的配置系统中的Android SDK根目录中应用$ANDROID_HOME/sdk
。
我的错误是:
* 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
我已经看到了很多需要在./sdkmanager --licenses
运行$ANDROID_HOME/tools/bin
的教程。但真正的问题是我的adt-bundle中没有BIN。这是我的目录:C:\Users\user\Desktop\Gradle\adt-bundle-windows-x86_64-20130219\sdk\tools
。 bin文件夹丢失了,我没有。我下载了错误的sdk工具吗?我还运行SDK Manager,遗憾的是工具中缺少bin文件夹。
JENKINS JOB的其他信息: 我只是调用gradle脚本并添加任务:packageDebug
答案 0 :(得分:0)
这已经解决了。
步骤: