# Licences for Android build tools not accepted

**URL:** <https://discuss.circleci.com/t/licences-for-android-build-tools-not-accepted/17285>\
**Category:** Mobile\
**Tags:** android\
**Created:** [October 11, 2017, 8:03am UTC](https://discuss.circleci.com/t/licences-for-android-build-tools-not-accepted/17285 "2017-10-11T08:03:43Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![gettindatfoshow](https://avatars.discourse-cdn.com/v4/letter/g/8e8cbc/32.png) [@gettindatfoshow](https://discuss.circleci.com/u/gettindatfoshow)\
**Post date:** [October 19, 2017, 3:38am UTC](https://discuss.circleci.com/t/licences-for-android-build-tools-not-accepted/17285/18 "2017-10-19T03:38:44Z")

</div>

Hi Marc,  
I have started having this issue while trying to run my ionic application using cordova run android from the command line. I have tried the license fix excepting it multiple times but I still receive the error. Here is what it looks like:

> [23:33:02] lint finished in 1.99 s  
> Checking the license for package Android SDK Platform 26 in /usr/lib/android-sdk/licenses  
> Warning: License for package Android SDK Platform 26 not accepted.
> 
> FAILURE: Build failed with an exception.
> 
> - What went wrong:  
> A problem occurred configuring root project ‘android’.  
> You have not accepted the license agreements of the following SDK components:  
> [Android SDK Platform 26].  
> 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](http://d.android.com/r/studio-ui/export-licenses.html)

---

_[View the full topic](https://discuss.circleci.com/t/licences-for-android-build-tools-not-accepted/17285)._
