Also, you don't have to use Eclipse or Android Studio at all if you don't want to. You can use whatever text editor and whatever build system floats your boat (ant and gradle are common).
The only time I use either of the Android IDEs (Android Studio, because Eclipse is horrible) is when I need to do on-device visual debugging; otherwise I just do command-line builds and deploy using adb.