Eclipse problem: clicking and nothing happening

Discussion in 'Application Development' started by Dec One, Jul 20, 2010.

  1. Dec One

    Dec One Member
    6

    Jul 20, 2010
    7
    1
    6
    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
    163

    Jul 13, 2010
    1,934
    458
    163
    Male
    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
    6

    Jul 20, 2010
    7
    1
    6
    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
    5

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

    Dec One Member
    6

    Jul 20, 2010
    7
    1
    6
    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
    5

    Jan 27, 2011
    2
    0
    5

Share This Page

Loading...