Res/Layout-land causing error


After I create the Res/layout-land folder and copy my fragment_crime.xml file into it I get the error below.

Exception raised during rendering: Could not initialize class android.widget.TextView Exception details are logged in Window > Show View > Error Log

In order to fix it I have to delete the layout-land directory, both fragment_crime.xml files, and copy the fragment_crime.xml file back into my res folder to correct it.