Sometimes you might encounter an issue with the Android Development Tools bundle where the Android SDK manager fails to open or closes immediately after showing a command prompt like a window. Fortunately, it is really easy to solve.
Step 1 : Go to [sdk-folder]/tools folder (For me it was C:\adt-bundle-windows-x86_64-20130522\sdk\tools).
Step 2 : Open the file android.bat in notepad by right clicking on it and selecting Edit from the context menu.
Step 3 : Find the line in the file that says java_exe.
Step 4: Now edit the “set java_exe=” line to
set java_exe="C:\Program Files\Java\jre7\bin\java.exe"
Here “C:\Program Files\Java\jre7\bin\java.exe” is the path where the java.exe file for the JRE is installed. You should check your Java executable location and change the line accordingly.
Ta daa ..!