user1166779
user1166779

Reputation: 3

id class not generated in R.java using eclipse

I installed the eclipse and ADT plug. When I am going to create new project the id class is not creating in R.java. I want to create button and textfields.

Thanks in advance.

Upvotes: 0

Views: 1225

Answers (3)

AlainPre
AlainPre

Reputation: 491

This may be a strange answer, but the fact of remove all files 'Thumbs.db' from all subfolders of resources has fixed the problem (on WIndows).

Upvotes: 0

Rajdeep Dua
Rajdeep Dua

Reputation: 11230

Make sure Project is set to Build Automatically. If it is not getting generated, check the Problems description in the Eclipse window to see why the build is failing.

enter image description here

Upvotes: 0

NullPointerException
NullPointerException

Reputation: 4008

You have to do following things... 1. Just clean your project... It will regenerate R.java file. 2. If still there is an error then surely u have error in layout file.

Upvotes: 3

Related Questions