I had probably the same issue - crash on rotate. I dont think I had the AndroidManifest.xml copied right from the tutorial. I didnt add
android:configChanges="orientation|keyboardHidden"
to the 1st activity. See my after and before:
After (working):
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<activity
android:name=".App"
android:label="@string/app_name" android:configChanges="orientation|keyboardHidden">
<intent-filter>
Before (crash on rotate):
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<activity
android:name=".App"
android:label="@string/app_name">
<intent-filter>
Not sure if you really want to fix the screen or stop it crashing but if you want to fix portrait or landscape you can do this:
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<activity
android:name=".App"
android:label="@string/app_name" android:configChanges="orientation|keyboardHidden"
android:screenOrientation="landscape" >
<intent-filter>