[SOLVED] Android SDK license error

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?


From this link

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)


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


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