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


#1

Hi,
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.


#2

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.


#3

I usually run this and spam Y

android update sdk --no-ui

#4

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


#5

Hi…it’s working fine
Thanks @mich356c


#6

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.
Thanks


#7

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


#9

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