Ionic error on build android

I use ionic, with ng-cordova. When I build the android project, I get this error:

Can someone give me a understandable suggestion?
I think there is some problem of version… but I haven’t any idea to resolve this error.

thanks, in advance.


Update your android sdk play services and support library,build tools.

Restart the machine.

hope this helps you.

it works.

Thanks Aparna.

I have another problem,
I update cordova and now I have always the same problem with build android:

which tools I have to install?

Hi ,

Try to uninstall the plugin and install it again,as you have updated the cordova version might be the plugin doesnt support the cordova version you have installed.