0

So I started a new android project in my default workspace. Then I decided to copy the project to another folder and imported the android project. Now when I start Eclipse, I switch the workspace to point to this new folder.

What I'm experimenting now is that eclipse seem no longer to regenerate the R.java values. Also the designer of my layout doesn't display the designer at all .....

How can I fix this?

asked Dec 7, 2011 at 5:37
6
  • oh thanks that worked for R.java files. But would you know why there is no more designer support for my layout.xml files ? Commented Dec 7, 2011 at 5:43
  • exactly can you tell me what happen when you open xml file? Commented Dec 7, 2011 at 5:45
  • 1
    For layout xml files, check this answer: stackoverflow.com/a/7992413/379693 Commented Dec 7, 2011 at 5:48
  • @Dr.nik : When I open the xml. There is 2 tab the Design and xml. In the Design, all i see is kind of a hierarchy with key-value pair for each property set on the xml. Commented Dec 7, 2011 at 16:04
  • @pdiddy can you take a screen short and let me know... Commented Dec 8, 2011 at 5:24

2 Answers 2

2

Do the following ...

1: default.properties or project.properties is present in your project? if project.properties is present then rename to default.properties

2: Clean your project and restart your eclips.

Hope this will helps you...Enjoy

answered Dec 7, 2011 at 6:16
Sign up to request clarification or add additional context in comments.

Comments

1

clean the project

when ever you are copy project, some time r.java not genrate so you need to clean project. so it will generate properly.

answered Dec 7, 2011 at 5:44

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.