# Android license problem

**URL:** https://discourse.processing.org/t/android-license-problem/15612
**Category:** Processing for Android
**Created:** [November 18, 2019, 3:24pm UTC](https://discourse.processing.org/t/android-license-problem/15612 "2019-11-18T15:24:49Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Ladan](https://avatars.discourse-cdn.com/v4/letter/l/dbc845/32.png) [@Ladan](https://discourse.processing.org/u/Ladan)
#### Post date: [November 18, 2019, 3:24pm UTC](https://discourse.processing.org/t/android-license-problem/15612/1 "2019-11-18T15:24:49Z")

</div>

I am getting this error, even when i´m trying to start a sketch on my device:

```auto
Caused by: java.lang.RuntimeException: You have not accepted the license agreements of the following SDK components:
[Android SDK Build-Tools 26.0.2].
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.

```

Also, i dont know, how to accept the license agreement.

---

<div class="post-metadata">

### Author: ![noel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/noel/32/213_2.png) [@noel](https://discourse.processing.org/u/noel)
#### Post date: [November 18, 2019, 3:55pm UTC](https://discourse.processing.org/t/android-license-problem/15612/2 "2019-11-18T15:55:42Z")

</div>

Hi.  
When you installed the android mode, did you install it as Processing offered to download the SDK, or did you install it manually? Because right after downloading a dialog box appears asking for agreement. It happened once to me and I deleted the SDK folder and installed the mode again. I know in AS there is a way to accept it in the command line, but I don’t know for Processing.

---

<div class="post-metadata">

### Author: ![Ladan](https://avatars.discourse-cdn.com/v4/letter/l/dbc845/32.png) [@Ladan](https://discourse.processing.org/u/Ladan)
#### Post date: [November 18, 2019, 4:01pm UTC](https://discourse.processing.org/t/android-license-problem/15612/3 "2019-11-18T16:01:27Z")

</div>

i uninstalled it again, now im gonna show you:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/5/52eeb05c92f9d685151be37a0b784da770774169.png)

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/f/fd61adaa6d3b11733adeb93ceec1af0d19b47bb2.png)

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/2/2b9f0305046e11aae5120579ac5735d3ee866514.png)

thats all

---

<div class="post-metadata">

### Author: ![noel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/noel/32/213_2.png) [@noel](https://discourse.processing.org/u/noel)
#### Post date: [November 18, 2019, 4:10pm UTC](https://discourse.processing.org/t/android-license-problem/15612/4 "2019-11-18T16:10:51Z")

</div>

Are you using windows?  
In your explorer can you locate a folder “Android” in the folder “Documents”? It must contain another folder named SDK.
