# \[SOLVED\] Android SDK license error

**URL:** https://discourse.processing.org/t/solved-android-sdk-license-error/2956
**Category:** Processing for Android
**Created:** [August 25, 2018, 7:10pm UTC](https://discourse.processing.org/t/solved-android-sdk-license-error/2956 "2018-08-25T19:10:33Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![aradarbel10](https://avatars.discourse-cdn.com/v4/letter/a/ecae2f/32.png) [@aradarbel10](https://discourse.processing.org/u/aradarbel10)
#### Post date: [August 25, 2018, 7:10pm UTC](https://discourse.processing.org/t/solved-android-sdk-license-error/2956/1 "2018-08-25T19:10:33Z")

</div>

Hello!  
I am trying to create my first android app with processing, and I tried the code from the example “noBackgroundTest” from the demos in examples. I just can’t build the app. it said:

> You have not accepted the license agreements of the following SDK components: …

I really don’t know what to do. I tried some stuff I saw online - reinstalled processing, reinstalled android SDK through processing and through android studio, nothing worked…

How can I solve it?

Thanks,  
Arad.

---

<div class="post-metadata">

### Author: ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)
#### Post date: [August 25, 2018, 10:27pm UTC](https://discourse.processing.org/t/solved-android-sdk-license-error/2956/2 "2018-08-25T22:27:11Z")

</div>

From [this link](https://stackoverflow.com/questions/38096225/automatically-accept-all-sdk-licences/38381577)

go to your folder where you have your android sdk installation and type in a cmd window:

`tools/bin/sdkmanager --licenses`

If you have Android Studio, I will just open it and let it fully load. It should show you the message to accept the licenses (I think)

Kf

---

<div class="post-metadata">

### Author: ![aradarbel10](https://avatars.discourse-cdn.com/v4/letter/a/ecae2f/32.png) [@aradarbel10](https://discourse.processing.org/u/aradarbel10)
#### Post date: [August 27, 2018, 8:49pm UTC](https://discourse.processing.org/t/solved-android-sdk-license-error/2956/3 "2018-08-27T20:49:46Z")

</div>

I just installed the newest version of processing and everything is fine now.

---

<div class="post-metadata">

### Author: ![puch](https://avatars.discourse-cdn.com/v4/letter/p/779978/32.png) [@puch](https://discourse.processing.org/u/puch)
#### Post date: [September 28, 2021, 1:23pm UTC](https://discourse.processing.org/t/solved-android-sdk-license-error/2956/4 "2021-09-28T13:23:24Z")

</div>

how do you install new version? help i have this problem cant go on at all…
