I've found the answer.
- Create environment variable called ANDROIDSDKHOME and set its value to
Setting the environment variable on Windows XP or Windows 7:
- Right-click on My Computer and choose "Properties"
- Click the "Advanced" tab
- Click the button "Environment Variables".
- Add New variable