Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I set up an Android development environment PURELY in Vim?

I was planning to try to learn Android, and I have totally no knowledge on Android development.

But Vim is my favorite editor, so I prefer Vim rather than Eclipse.

How do I set up this environment, and how do I run it (from beginning to the end)?

Currently in,

~/.vim/bundle/

I already got

- conque-shell
- nerdtree
- supertab
- command-t
- taglist
...etc.

these plugin. Are there other plugins that I should add in?

like image 944
Js Lim Avatar asked Jan 07 '12 15:01

Js Lim


People also ask

What is Android & setting up development environment & various editors?

Android Software Development Kit (SDK)The Android SDK is a set of API libraries and developement tools necessary to build, test, and debug applications for Android. Among other things, It consists of the following main components: Android-specific libraries for building Android applications.


3 Answers

I would strongly recommend you to use Vim plugin Eclim for Android development in Vim. I used it, and I found it extremely useful. Code autocomplete, refactoring and so on, is just awesome. Actually, when I started using Eclim, I got power of an IDE with my favorite editor Vim.

Also, you might want to read this publication about using Eclim for Android development.

like image 127
Dmitry Frank Avatar answered Sep 28 '22 08:09

Dmitry Frank


You don't need any Vim plugins for Android development.

All you need is

  • Apache Ant for building the resulting app
  • A Java 5 compatible JDK
  • The Android SDK

Then you can use Vim to edit the AndroidManifest.xml, the layout.xmls, the Java source, the build.properties, the build.xml, and so on.

like image 44
ᅙᄉᅙ Avatar answered Sep 28 '22 06:09

ᅙᄉᅙ


You need to know how to build an Android project by Ant.

I also use Vim to develop android project, and I have just created a Vim script for Android development. It is called adt.vim, and I am using it. I hope you will like it. http://www.vim.org/scripts/script.php?script_id=4330

If any suggestion, please tell me. It is still being improved.

like image 33
Cook Chen Avatar answered Sep 28 '22 07:09

Cook Chen