I\'ve got an error:
R cannot be resolved to a variable
in line:
setContentView(R.layout.main);
but I can\'t r
Try this: comment setContentView(R.layout.main); and the build/clean your project again. Then uncomment the commented line. This issue should not be seen then.