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?
-
oh thanks that worked for R.java files. But would you know why there is no more designer support for my layout.xml files ?pdiddy– pdiddy2011年12月07日 05:43:04 +00:00Commented Dec 7, 2011 at 5:43
-
exactly can you tell me what happen when you open xml file?Nikunj Patel– Nikunj Patel2011年12月07日 05:45:15 +00:00Commented Dec 7, 2011 at 5:45
-
1For layout xml files, check this answer: stackoverflow.com/a/7992413/379693Paresh Mayani– Paresh Mayani2011年12月07日 05:48:17 +00:00Commented 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.pdiddy– pdiddy2011年12月07日 16:04:38 +00:00Commented Dec 7, 2011 at 16:04
-
@pdiddy can you take a screen short and let me know...Nikunj Patel– Nikunj Patel2011年12月08日 05:24:10 +00:00Commented Dec 8, 2011 at 5:24
2 Answers 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