Mobile Orientation change Issue

Hi,

I was trying to using rotate() method to change the mobile orientation from portrait to Landscape. But am getting the below error.

any of the methods taking to me configure buildpath.

Could some body help me to resolve this error.

Thank you,
Praveen