I am Having trouble while creating new project in Eclipse Luno. After I update Android Eclipse SDK to API 22 then I am start getting this issue, Layout is not showing prope
The easiest solution is to change the theme from the drop down of the same page where we are getting the error, i.e in the graphical layout of the activity screen, in the top there is a drop down to change the theme. This solved the problem for me.
you only need to change the AppTheme to other theme that is way i resolve this.
Try changing to lower version as shown in image below and it should work:
Try to rebuild your project ..this work fine for me..
In the menu bar
Build->Rebuild
Or
add import app.studentlog.R; in your java file.where studentlog is your project name.
You can just solve it by changing the app theme. I did the same and got it resolved
I did a configure build path including the andriod 5.1.1 library and then did a restart of eclipse and this error got resolved