Ionic run android gives error : Unsupported major.minor version 52.0

If you’re using visual studio, you’ve to override the default java path under options > tools for apache cordova > environment > JAVA_HOME

uch … thank you!!! Was dealing with it like 2 weeks now … so deleted v24 and added v23

Thank you so much. My build just broke today and I have a tight deadline for a project.

Same issue for SDK Build tools 25, 25.0.1, 25.0.2. working fine with SDK Build tools 23.0.3

Thank you priteshpmehta.

It worked for me too! thanks!

If you delete sdk 24, and when you try to build it using ionic build android it says you need to install sdk version 24, so it is not a solution, at least for me