hermy
hermy

Reputation: 318

Content Assist not working in Eclipse for Android

I've been working in Eclipse programming for Android for about a year now. I suddenly have an enormous problem. Here is the error:

"Content Assist" did not complete normally. Please see the log for more information. java.lang.NullPointerException

I go to Help>About Eclipse SDK>Installation Details>Configuration>View Error Log and it is nothing but a blank page. No errors at all.

I tried researching online. The most relevant pages I could find are http://forums.adobe.com/thread/455543 and http://www.themorphicgroup.com/blog/2009/10/27/content-assist-did-not-complete-normally/ and http://www.airtightinteractive.com/2010/01/fix-for-flash-builder-content-assist-did-not-complete-normally/ . All of these pages say to close FB, delete the .metadata folder,restart FB, import/export some SWC file, and/or delete some file with "flexbuilder" in it's name. None of these work and I see nothing on my whole machine with any of "Flash Builder", "FB", "flex", or "flexbuilder" in it's name.

As a desperate last resort I deleted all traces of Eclipse, Android, Adobe anything, and Java from my machine.

Absolutely no difference what-so-ever. Besides exhaustion and heartache for me.

The content assist features seem to work fine in java files (for now anyway). It seems that only .xml files are affected.

What can I do to resolve or work around this issue?

Upvotes: 2

Views: 3725

Answers (3)

icyerasor
icyerasor

Reputation: 5242

Uninstalling and re-installing the Android Developement Tools Plugin for eclipse at least partyl fixed the problem for me.

Strangely it worked best when completely uninstalling the plugin!?

Upvotes: 0

Skystrider
Skystrider

Reputation: 399

Right clicking the file and opening it specifically with Android Layout Editor is what solved the problem for me. Eclipse will continue to open it up with that editor after choosing that editor.

Upvotes: 1

Ryan Conrad
Ryan Conrad

Reputation: 6900

Make sure the correct editor is opening the xml files. I have aptana and some other plugins that support xml files. Right click the file in project explorer and select open with, then select Android Xml Editor and see if you have completion.

I dont know if that is the exact name, because my eclipse just went south and wont even open :)

Upvotes: 1

Related Questions