title: Android (Phonegap) crash on rotate
body: <p>I googled that an activity element needs <code>android:configChanges="orientation|screenSize|keyboardHidden"</code> value for PhoneGap to refresh screen dimensions. But then Eclipse pukes that there is an error: <code>error: Error: String types not allowed (at 'configChanges' with value 'orientation|screenSize|keyboardHidden').</code>. So what is wrong with my manifest configuration? Here is my whole Android manifest configuration:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.agilitus"
      android:versionCode="1"
      android:versionName="1.0" android:installLocation="internalOnly"&gt;
  
      &lt;supports-screens
          android:largeScreens="true"
          android:normalScreens="true"
          android:smallScreens="true"
          android:resizeable="true"
          android:anyDensity="true"
      /&gt;
  
      &lt;uses-permission android:name="android.permission.CAMERA" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" /&gt;
      &lt;uses-permission android:name="android.permission.READ_PHONE_STATE" /&gt;
      &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
      &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
  
      &lt;uses-sdk android:minSdkVersion="8" android:targetSdkVersion="16" /&gt;
  
  
      &lt;application
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name" android:debuggable="true" android:testOnly="false"&gt;
          &lt;activity
              android:name=".IndexActivity"
              android:label="@string/app_name"
              android:screenOrientation="portrait"
              android:configChanges="orientation|screenSize|keyboardHidden"&gt;
  
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>As you can see I installed all versions above 3.2
  <img src="https://i.stack.imgur.com/L2ISf.jpg" alt="My Android SDK Manager window"></p>
  
  <p>Still getting an error on <code>As you can see I installed all versions above 3.2</code>
  <img src="https://i.stack.imgur.com/ZRNdz.jpg" alt="My manifest file"></p>