I installed android studio but while selecting android SDK I am getting following error. I tried solution which is on this [post](https://stackoverflow.com/questions/16574189/android-studio-installation-on-windows-7-fails-no-jdk-found#comment23821895_16574523) but no luck. How can I solve this?

![error screenshot 1](https://i.stack.imgur.com/fx4oY.jpg)

![error screenshot 2](https://i.stack.imgur.com/bzRum.png)