title: Phonegap facebook plugin errors - cordova cannot be resolved
body: <p>I have tried everything to get the phonegap facebook plugin working on android, but to no avail. I am using cordova 3.0. I have followed the instructions at: <a href="https://github.com/Raffaello/phonegap-facebook-plugin/blob/master/README.md" rel="nofollow">https://github.com/Raffaello/phonegap-facebook-plugin/blob/master/README.md</a></p>
  
  <p>So the application tag in AndroidManifest.xml looks like:</p>
  
  <pre><code>&lt;application android:icon="@drawable/icon" android:label="@string/app_name"
      android:hardwareAccelerated="true"
      android:debuggable="true"&gt;
      &lt;activity android:name="face_login" android:label="@string/app_name"
              android:theme="@android:style/Theme.Black.NoTitleBar"
              android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale"&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;activity android:name="com.facebook.LoginActivity"
            android:label="@string/app_name" /&gt;
  &lt;/application&gt;
  </code></pre>
  
  <p>The bottom of the config.xml file looks like:</p>
  
  <pre><code>    &lt;plugins&gt;
          &lt;plugin name="org.apache.cordova.facebook.Connect" value="org.apache.cordova.facebook.ConnectPlugin" /&gt;
      &lt;/plugins&gt;
  &lt;/widget&gt;
  </code></pre>
  
  <p>However, I get a huge amount of errors, such as:</p>
  
  <pre><code>CallbackContext cannot be resolved to a type    ConnectPlugin.java
  
  cordova cannot be resolved  ConnectPlugin.java
  
  error: No resource identifier found for attribute 'hardwareAccelerated' in package 'android'    AndroidManifest.xml
  
  PluginResult cannot be resolved to a type   ConnectPlugin.java
  
  The import org.apache.cordova.api cannot be resolved    ConnectPlugin.java
  
  webView cannot be resolved or is not a field    ConnectPlugin.java
  </code></pre>
  
  <p>I have included the cordova-3.0.0.jar in the buildpath. But still getting all these errors. Any idea's?</p>