当我使用命令汇编等时,我有一个成功构建的应用程序...一切正常。我决定使用Jenkins,但我在构建时遇到错误:
* What went wrong:
25 A problem occurred configuring project ':app'.
26 > You have not accepted the license agreements of the following SDK components:
27 [Android SDK Build-Tools 25].
28 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.
我正在使用构建工具版本25.0.0,并使用命令android update sdk --no-ui --filter the_index_to_update
那有什么不对?
答案 0 :(得分:1)
正如Google在此处所说:Auto-download missing packages with Gradle
您可以将本地许可证复制到遥控器。所以现在它正在工作,对我来说太糟糕了,在遥控器上更新sdk时不知道怎么办......