I searched high and low for people with the same question, but found only some options (i.e. the R file is not generated at all) that do not help. I am VERY new to Android development (first day, actually), but from some of the tutorials I read, this behavior is unexpected. Basically, let's say I create a TextView in my activity XML file and give it the corresponding android: id. I save the file (and all other files), but if I try to use findViewById in my Java file, then the name is R.id. [view name] will not be displayed (and displays an error if I manually type it). If I run the Build Project, it works, but there will be a huge load to run the Build command when creating each new component! Has anyone else experienced this or had ideas on why this is happening? Thanks in advance!
source
share