Reputation: 2275
I have the Android Developer Tool which shows eclipse version 4.2 (juno).
According to Eclim site required version of Eclim is as
Eclipse 4.3.x (Kepler) (Eclim 2.2.x), Eclipse 3.7.x (Indigo) (Eclim 1.7.x), or Eclipse 3.8 (Eclim 1.7.13 or greater)
I thought eclim 1.7.18 will work with eclipse 4.2. I also tried 2.3 but none are compatible with eclipse 4.2 which comes bundled in ADT. So which version of Eclim should I use?
Upvotes: 1
Views: 626
Reputation: 350
For other readers not satisfied I'll tell my story, before you read you must know I'm that type of developers who love using the CLI and thinks that keyboard shurtcuts are faster than using a mouse, if you don't agree may be this setup is not for you:
:PingEclim
you should see the version of Eclim as well of Eclipse.:ProjectCreate %/MyProjectFolder -n android
, it will ask for some configs.:!android project update --path %/MyProjectFolder
(note you can omit '/MyProjectFolder' if you're already inside that folder). You can add --target
and --name
flags if you want to update these values.:JavaImport
but you know you can map it.:Ant debug install
and if build succeeds use :!adb shell am start -n your.package.name/.YourMainActivity
this will fire the app in your device just like eclipse does.You can combine the build and install command with :!ant debug install && adb shell am start -n your.package.name/.YourMainActivity
. Also remember to keep a terminal open for your logcat adb logcat
or if you declare a tag (I suggest doing it) adb logcat -s "MyTag"
I was in a pain after updating my eclipse juno only errors was shown, I was tired of downloading, installing, updating eclipse, even the bundled ADT was bugy, Android Studio looks very ugly on linux by the swing font rendering, many hours were wasted at the end I just search for integrate my vim (I use it for web dev) and never looked back, used Eclim because I had the buggied eclipse on my system (is still here can't use that slow bugy crap, I HATE ECLIPSE).
If you don't have eclipse I suggest you try another Android Development Vim Studio without eclim, but if you already have Eclipse, go for eclim. And yes I'm happier to code this way in Vim rather than in eclipse, the only miss is the GUI Layout Designer. As some people say If you want something done well, better do it your self
Yes, for sure I'll start building a vimscript for this.
Upvotes: 1
Reputation: 32
I got ADT bundle with eclipse 4.2 and installed eclim 2.2.6 which doesn't complain about eclipse's version.
I hope it works for you too.
Upvotes: 1