젠킨스의 시스템 구성에서 adt-bundle-windows-x86_64-20130219
을 다운로드하고 $ANDROID_HOME/sdk
을 Android SDK 루트에 적용했습니다.젠킨스 : 다음 SDK 구성 요소의 사용권 계약을 수락하지 않았습니다.
내 오류 : 나는 $ANDROID_HOME/tools/bin
에서 ./sdkmanager --licenses
을 실행하는 데 필요한 자습서를 많이 보았다
* 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
. 하지만 진짜 문제는 내 adt 번들에 BIN이 없다는 것입니다. 여기 내 디렉토리 : C:\Users\user\Desktop\Gradle\adt-bundle-windows-x86_64-20130219\sdk\tools
입니다. bin 폴더가 없으며 갖고 있지 않습니다. 잘못된 SDK 도구를 다운로드 했습니까? 불행하게도 bin 폴더가 도구에 없기 때문에 SDK 관리자를 실행합니다. 젠킨스 작업에서
추가 정보 : 난 그냥 Gradle을 스크립트를 호출하여 작업을 추가 : packageDebug이 해결