title: Build Android on Jenkins failed due to licenses
body: <p>I have an app which is built with success when I use command assemble, etc... Everything works fine. I decided to use Jenkins, but I have an error on build which says : </p>
  
  <pre><code>* What went wrong:
  25  A problem occurred configuring project ':app'.
  26  &gt; 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.
  </code></pre>
  
  <p>I'm using build tools version 25.0.0, and I updated SDK with last version on Jenkins with command <code>android update sdk --no-ui --filter the_index_to_update</code></p>
  
  <p>So what is wrong ?</p>