Developing android apps without android studio. VIM IDE

I wonder if it is possible to develop android apps on linux without android studio? I prefer vim instead. I have already installed android sdk, and wanted to compile, and then run this kind of applications. I heard that its possible because sdk implements some kind of virtual machine that is able to simulate android environment. Have you got any ideas how to do this ?