I installed Android Studio but it was giving me error that I need to install JDK but JDK was already installed. Then I realized it is asking to install 64bit version of JDK.
Just Copy the tools.jar from your jdk to Android lib directory.