I hope I understand your problem, but I never had to set any environment variable.
When you install the Android SDK, it will suggest to install itself in "...\Program files\..." : this is causing a problem...
You should have to install it in a folder not containing any spaces (or any other special characters): I installed mine in c:\Android\SDK
Wim