I made a very simple "hello world" displaying code in Android but encounter with these problems:
activity_main cannot be resolved to variable and R cannot be resolved to a variable. I went with following approaches:
1) clean and build the project.
2) added import com.example.Myapp.R (myapp is my my projects name).
Could any one suggest what should i do now?