title: setPluginState and setPluginsEnabled
body: <p>My Android app was first intended for Android 2.2 onwards so I used</p>
  
  <pre><code>player.getSettings().setPluginState(WebSettings.PluginState.ON);
  </code></pre>
  
  <p>for the WebView object.</p>
  
  <p>Now that I've decided to open my app to Android 2.1 users, I changed my code to this:</p>
  
  <pre><code>try {
    player.getSettings().setPluginState(WebSettings.PluginState.ON);
  } catch (Exception e) {
    player.getSettings().setPluginsEnabled(true);
  }
  </code></pre>
  
  <p>With this, the app force closes and I get this error on my logcat:</p>
  
  <pre><code>Uncaught handler: thread main exiting due to uncaught exception
  java.lang.NoClassDefFoundError: android.webkit.WebSettings$PluginState
      at com.dokgu.joindota.WatchVOD.onCreate(WatchVOD.java:34)
      at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
      at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459)
      at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)
      at android.app.ActivityThread.access$2200(ActivityThread.java:119)
      at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)
      at android.os.Handler.dispatchMessage(Handler.java:99)
      at android.os.Looper.loop(Looper.java:123)
      at android.app.ActivityThread.main(ActivityThread.java:4363)
      at java.lang.reflect.Method.invokeNative(Native Method)
      at java.lang.reflect.Method.invoke(Method.java:521)
      at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
      at dalvik.system.NativeStart.main(Native Method)
  </code></pre>
  
  <p>Any help with this error?</p>
  
  <p>EDIT:
  This error only appears on the 2.1 emulator.</p>