First download the SDK here.
This instruction is specific from ubuntu.
After you uncompress the file.
There is a .bashrc file. Just add this line
PATH="$PATH:the path of android toolsat the end of .bashrc file.
Then just install eclipse, and download the android eclipse integration. And just setup in windows->preference menu in eclipse. Then it is done