Re: [eclim-user] Import android cannot be resolved

4,558 views
Skip to first unread message
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted

wik

unread,
Apr 25, 2012, 8:49:04 PM4/25/12
to eclim...@googlegroups.com

I just faced the same problem.

I've eclipse indigo with ADT Plugin and created project there, i.e. auto completion for android packages works in Eclipse
But if I open project in vim(i.e. via eclimd), the android.<ctrl-x><ctrl-u> does nothing(Pattern not found)

Meanwhile the following works as expected
:JavaImportMissing


Any idea? Here is content of my .classpath file: https://gist.github.com/2494857

Thanks.

On Friday, September 10, 2010 9:46:24 PM UTC+3, mayankgrover wrote:
Hi,

I am using eclim (headless) with Vim to edit my android projects. But
when i save any file I get a lot of error highlighted (with sign ">>")
on each android import and any subsequent functions from these
imported packages.

" loc - (4 of 10): The import android cannot be resolved "

Also i tried java code completion which is working fine, but since
these imports are not getting resolved properly so my auto complete
(Ctrl-X Ctrl-U) is not working on android packages.

FYI.. I create android projects using android commandline utility and
created a new project in the vim (after starting eclimd - headless).

Any help is appreciated.

Thanks.

Eric Van Dewoestine

unread,
Apr 29, 2012, 1:29:18 PM4/29/12
to eclim...@googlegroups.com
On 2012-04-25 17:49:04, wik wrote:
>
> I just faced the same problem.
>
> I've eclipse indigo with ADT Plugin and created project there, i.e. auto
> completion for android packages works in Eclipse
> But if I open project in vim(i.e. via eclimd), the android.<ctrl-x><ctrl-u>
> does nothing(Pattern not found)
> *
> *Meanwhile the following works as expected*
> :JavaImportMissing*
>
> Any idea? Here is content of my .classpath file:
> https://gist.github.com/2494857
>
> Thanks.

So far I can't reproduce the problem. On my test android project I can
complete android packages using android.<ctrl-x><ctrl-u>. If you
create a new sample android project does the problem still occur with
that project?

--
eric

Yevgeniy Viktorov

unread,
Apr 30, 2012, 10:23:43 AM4/30/12
to eclim...@googlegroups.com
On Sun, Apr 29, 2012 at 8:29 PM, Eric Van Dewoestine <erva...@gmail.com> wrote:
So far I can't reproduce the problem. On my test android project I can
complete android packages using android.<ctrl-x><ctrl-u>. If you
create a new sample android project does the problem still occur with
that project?

Unfortunately the problem still occur.

I created sample project created with Eclipse as described in http://developer.android.com/guide/developing/projects/projects-eclipse.html but it isn't completing android packages when working thru eclimd.

Yevgeniy Viktorov

unread,
Apr 30, 2012, 12:03:14 PM4/30/12
to eclim...@googlegroups.com
I just removed Vim JDE plugin and the problem is gone :)

Thanks.

Eric Van Dewoestine

unread,
Apr 30, 2012, 12:10:42 PM4/30/12
to eclim...@googlegroups.com
On 2012-04-30 19:03:14, Yevgeniy Viktorov wrote:
> I just removed Vim JDE plugin and the problem is gone :)
>
> Thanks.

Ah, so eclim's code completion wasn't even being invoked! That would
do it ;)

Thanks for the update.

--
eric
Reply all
Reply to author
Forward
0 new messages