[JIRA] (JENKINS-50753) Always said that sdk license is not accept,but I do all accept the licenses

2018-04-11 Thread cnrt...@163.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 cnr ting updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50753  
 
 
  Always said that sdk license is not accept,but I do all accept the licenses   
 

  
 
 
 
 

 
Change By: 
 cnr ting  
 

  
 
 
 
 

 
 1.try install versions of build tools:[root@dns shadowsocks-android]# sdkmanager --listInstalled packages:=] 100% Computing updates...  Path | Version | Description | Location  --- | --- | --- | ---  build-tools;26.0.2 | 26.0.2 | Android SDK Build-Tools 26.0.2 | build-tools/26.0.2/  build-tools;26.0.3 | 26.0.3 | Android SDK Build-Tools 26.0.3 | build-tools/26.0.3/  build-tools;27.0.3 | 27.0.3 | Android SDK Build-Tools 27.0.3 | build-tools/27.0.3/  emulator | 27.1.12 | Android Emulator | emulator/  ndk-bundle | 16.1.4479499 | NDK | ndk-bundle/  patcher;v4 | 1 | SDK Patch Applier v4 | patcher/v4/  platform-tools | 27.0.1 | Android SDK Platform-Tools | platform-tools/  platforms;android-26 | 2 | Android SDK Platform 26 | platforms/android-26/ platforms;android-27 | 1 | Android SDK Platform 27 | platforms/android-27/ tools | 26.1.1 | Android SDK Tools | tools/ 2.sdkmanager shows all licenses are accepted:[root@dns shadowsocks-android]# sdkmanager --licensesAll SDK package licenses accepted.==] 100% Computing updates... start build with jenkins log:[shadowsocks-android] $ /var/lib/jenkins/tools/hudson.plugins.gradle.GradleInstallation/gradle-4.6/bin/gradleStarting a Gradle Daemon (subsequent builds will be faster)Checking the license for package Android SDK Build-Tools 27.0.3 in /var/android-sdk/licensesWarning: License for package Android SDK Build-Tools 27.0.3 not accepted.Checking the license for package Android SDK Platform 27 in /var/android-sdk/licensesWarning: License for package Android SDK Platform 27 not accepted.FAILURE: Build failed with an exception.  * What went wrong:A problem occurred configuring project ':core'.> Failed to install the following Android SDK packages as some licences have not been accepted. platforms;android-27 Android SDK Platform 27 build-tools;27.0.3 Android SDK Build-Tools 27.0.3  To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.  Alternatively, to transfer the license agreements from one workstation to another, see [http://d.android.com/r/studio-ui/export-licenses.html]Using Android SDK: /var/android-sdk* Try:Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. just don't know what and where goes wrong ,using ./gradlew build command can successfully build.but fail in jeknins  
 

  
 
 
 
 

 
   

[JIRA] (JENKINS-50753) Always said that sdk license is not accept,but I do all accept the licenses

2018-04-11 Thread cnrt...@163.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 cnr ting created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50753  
 
 
  Always said that sdk license is not accept,but I do all accept the licenses   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Stefan Wolf  
 
 
Components: 
 gradle-plugin  
 
 
Created: 
 2018-04-11 20:02  
 
 
Environment: 
 CentOS 7 4.15.11-1.el7.elrepo.x86_64  
 
 
Labels: 
 jenkins  
 
 
Priority: 
  Blocker  
 
 
Reporter: 
 cnr ting  
 

  
 
 
 
 

 
 1.try install versions of build tools: [root@dns shadowsocks-android]# sdkmanager --list Installed packages:=] 100% Computing updates...  Path | Version | Description | Location  --- | --- | --- | ---  build-tools;26.0.2 | 26.0.2 | Android SDK Build-Tools 26.0.2 | build-tools/26.0.2/  build-tools;26.0.3 | 26.0.3 | Android SDK Build-Tools 26.0.3 | build-tools/26.0.3/  build-tools;27.0.3 | 27.0.3 | Android SDK Build-Tools 27.0.3 | build-tools/27.0.3/  emulator | 27.1.12 | Android Emulator | emulator/  ndk-bundle | 16.1.4479499 | NDK | ndk-bundle/  patcher;v4 | 1 | SDK Patch Applier v4 | patcher/v4/  platform-tools | 27.0.1 | Android SDK Platform-Tools | platform-tools/  platforms;android-26 | 2 | Android SDK Platform 26 | platforms/android-26/ platforms;android-27 | 1 | Android SDK Platform 27 | platforms/android-27/ tools | 26.1.1 | Android SDK Tools | tools/   2.sdkmanager shows all licenses are accepted: [root@dns shadowsocks-android]# sdkmanager --licenses All SDK package licenses accepted.==] 100% Computing updates...   start build with jenkins log: [shadowsocks-android] $ /var/lib/jenkins/tools/hudson.plugins.gradle.GradleInstallation/gradle-4.6/bin/gradle Starting a Gradle Daemon