Well, I ran into the following error message:
'java' is not recognized as an internal or external command, operable program, or batch file. SWT folder '' does not exist. Please set ANDROID_SWT to point to the folder containing swt.jar for your platform.
I read somewhere that I should install the x64 Java version. However, when I went to Java download page, it didn’t even have the x64 version available to download. Turns out that the problem was that I was using Google Chrome to browse there. I had to use Internet Explorer (x64 bit version) to get the x64 Java link to even show up!
This worked for me, but you can check out the following link at StackOverflow: