A problem occurred configuring root project 'android'. > You have not accepted the license agreements of the following SDK components: [Android SDK Platform 25]

I am using UBUNTU
I am getting this issue while running “ionic build android”

I’ve searched all over for ways to accept the license agreement of Android SDK Platform 25,and again installed it. but no real luck.

Thank you ahead of time.

Hmmm when I had errors like this, I would usualy try updating my Android SDK, either with android studio or the android SDK standalone installation.

I usually run this and spam Y

android update sdk --no-ui
1 Like

I tried with the updation also but still it’s not working for me.

Hi…it’s working fine
Thanks @mich356c

What did you mean by this bit? I just ran android update sdk --no-ui with no success. In my case, the problemaic component is [SDK Patch Applier v4, Google Repository]

Any pointers would be appreciated.

When you run the command it should ask you to accept the license agreement, and to do so you should press ‘Y’

Oh, got it. Hmmm… The solution isn’t making a difference :confused: