I've found the answer.

  • Move .android folder to E:\Android
  • Create environment variable called ANDROIDSDKHOME and set its value to E:\Android

Setting the environment variable on Windows XP or Windows 7:

  1. Right-click on My Computer and choose "Properties"
  2. Click the "Advanced" tab
  3. Click the button "Environment Variables".
  4. Add New variable