says the R.java cannot be resolved but the reason seems to be not solved by refreshing or clean building the code..it has something to do with the different build target paths

You have not provided any code or listings it making it difficult for anyone to identify what the problem is!

I ave had problems creating the R.JAVA class caused by problems in the XML files that create it. If there is a single syntax error the compilation fails and no class is created. You should perhaps check the XML files used.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.