Eclipse problem: clicking and nothing happening


Last Updated:

  1. Dec One

    Dec One Member This Topic's Starter

    Joined:
    Jul 20, 2010
    Messages:
    7
    Likes Received:
    1
    I'm having problems with the properties tab in main.xml. I click on (for example) a TextView, then in the Properties tab I scroll down to the Text property. It is set to a value of @string/hello. I click that value, and a button with three dots (...) appears next to it. When I click that button, I'm supposed to get a list of available string resources from which to choose. Instead, when I click on it, nothing happens. This is happening in any of the Properties I try. What can I do?

    I'm using Eclipse 3.5.2 on Ubuntu 10.04. I have tried:
    • closing and reopening the Properties tab
    • restarting Eclipse
    • restarting the computer
    • starting a new Android project

    I have a Windows installation of Eclipse with the Android SDK, and this problem is not happening there. But I want it to work on Ubuntu!
     

    Advertisement
  2. jonbonazza

    jonbonazza Well-Known Member

    Joined:
    Jul 13, 2010
    Messages:
    1,934
    Likes Received:
    458
    Do you have a file named strings.xml (exactly like that.. case-sensitive) in your values folder?

    If so, do you have the proper XML tags setup?

    i.e.
    <resources>
    <string name = "string-name">String</string>
    </resources>

    Also, you need the standard xml header at the top defining the UTF-8 encoding, etc...
     
  3. Dec One

    Dec One Member This Topic's Starter

    Joined:
    Jul 20, 2010
    Messages:
    7
    Likes Received:
    1
    Yup, it's there. It was automatically generated. (In one project I created to test this problem, I haven't changed it at all).

    I'm curious to know if anyone else running Ubuntu 10.04 is having this problem.
     
  4. memka

    memka New Member

    Joined:
    Jan 27, 2011
    Messages:
    2
    Likes Received:
    0
    I have the same problem on Ubuntu 10.04LTS, Eclipse 3.5. Any ideas?
     
  5. Dec One

    Dec One Member This Topic's Starter

    Joined:
    Jul 20, 2010
    Messages:
    7
    Likes Received:
    1
    I'm not at my Ubuntu computer right now to verify, but I think the solution is to click the three-dot button and then hit the space bar.
     
    memka likes this.
  6. memka

    memka New Member

    Joined:
    Jan 27, 2011
    Messages:
    2
    Likes Received:
    0

Share This Page

Loading...