ravisharma
ravisharma

Reputation: 19

Not getting R.java file

I am not able to get back my R.java file after cleaning my project.

Please suggest me a solution which help me in this matter..

thanks in advance...

Upvotes: 2

Views: 95

Answers (3)

Mohit Verma
Mohit Verma

Reputation: 3025

Try building your project by selecting your project--> Build Project.

remove the Build Automatically setting from your projects tab of eclipse.

Try building them manually.

Upvotes: 2

thepoosh
thepoosh

Reputation: 12587

this can happen from one of two reasons:

  1. you are not auto-rebuilding your project. (can be fixed in the settings).

  2. you have a property within your project with and illegal name (such as files with capital letters).

fix this and the project will rebuild with no problems.

Upvotes: 2

Ashwani
Ashwani

Reputation: 1584

The eclipse is not able to build R.java . There might be some problem in your xml layouts. Check them out.

Upvotes: 0

Related Questions