-4

This would serve the purpose as a check list, when someone encounter this basic error on android. Please add interesting points you have come across. Refer links

Description: R.java is a generated class. In a Android Development Tools (ADT) environment it is generated whenever the project is built. This class holds all the references of your android project in integer values. whenever you reference a R. something that means you refer to one of this integer value.

Cause: This Error may happen when the R.java is not properly generated.

Errors: There are several reasons which prevent this R.java from generated automatically which will be detailed below by our fellows.

Thank you.

ganesh
  • 780
  • 7
  • 19

1 Answers1

0

Make sure that AndroidBuildTools are installed and your views are correct.
Sometimes needs to import .R;

Alexmelyon
  • 1,168
  • 11
  • 18