Welcome to the Android Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 3 of 3
  1. Thread Author  Thread Author    #1  

    Default code completion suggestions for Android layout xml not working

    The code completion suggestions for Android Layout XML is not working in Juno.

    When editing a layout xml file, no suggestions pop up and hitting Control-Space just beeps.

    This used to work before I upgraded to Juno.

    Eclipse' Installation Details says I have Eclipse IDE for Java Developers 1.5.2.20130211-1820, and ADT 21.1.0v201302060044-569685.

    I'm using a mac.

    Help | Check for Updates says there are no updates.
  2. Thread Author  Thread Author    #2  

    Default Re: code completion suggestions for Android layout xml not working

    Found it - the manifest file needed to have as the first line in the file -
    <?xml version="1.0" encoding="utf-8"?>

    Prior versions did not require this !
  3. Thread Author  Thread Author    #3  

    Default Re: code completion suggestions for Android layout xml not working

    My prior solution is not correct.

    I stumbled on the solution today.

    If the xml file is read only, then code completion does not work.
    Make the file read/write and then code completion works.

    This is not the behavior of the previous ADT.
    Code completion used to work even for read only files, and if you saved a change the file was changed to read/write.

    This BUG may only apply to Mac OSX, because I checked with someone using Windows and they do not have this BUG.

Similar Threads

  1. Yahoo for Android Email app not notifying.
    By IAmSixNine in forum Sprint Galaxy S II Epic 4G Touch
    Replies: 3
    Last Post: 03-05-2012, 06:22 PM
  2. Replies: 9
    Last Post: 12-24-2011, 06:50 PM
  3. Facebook for Android Push Notifications Stopped Working
    By QuadRidinCPA in forum Android Apps
    Replies: 2
    Last Post: 07-14-2011, 01:00 AM
  4. Replies: 1
    Last Post: 06-23-2011, 07:24 AM
  5. android media player not working
    By bjs188 in forum Sprint Epic 4G
    Replies: 0
    Last Post: 05-09-2011, 09:08 AM

Posting Permissions