我的Github上有一个Android库:
CalendarView
我从原作者那里分得的。我在上发布了我的Android库
Jitpack
.
我创造了
releases
在Github,使用
git tag
。为了
release tags: v1.0, v1.1
, the
build
在
Jitpack
成功了。
但是,对于版本
v.12
,
建造
在
Jitpack软件包
失败,出现此错误:
FAILURE: Build failed with an exception.
* 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
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
完整的错误日志是
here
.
在没有修复任何东西的情况下,我创建了另一个
release tag: v1.3
在Github上。然后触发
建造
在
Jitpack软件包
。生成成功,没有错误。
知道为什么会出现上述错误并自行消失吗?如果下次再弹出,有什么建议吗?谢谢!