Build failing after running ionic cordova platform add android@7.0.0


#1

Hi,
I am getting below error after running ionic cordova build android.
Before executing above command i had used > ionic cordova platform add android@7.0.0.

image

I tried removing and again adding platform but again same error i am getting. Even though i tried reinstalling cordova and ionic also.

Earlier it was working fine with ionic cordova platform add android but as soon as i executed ionic cordova platform add android@7.0.0 to install toast plugin, my build started failing.

Can someone help me out?