title: Error initializing Cordova: Class not found
body: <p>I followed the tutorial of Phonegap from the official Phonegap.com site (getting started with Android). </p>
  
  <p>I have created project with following all the steps.</p>
  
  <ol>
  <li>created activity and extended from "DroidGap" and added loadURL method from onCreate().</li>
  <li>Added cordova-2.0.0.js and cordova-2.0.0.jar on the respective folder. </li>
  <li>Added the jar file to the build path</li>
  <li>Loaded the js file from the html tag</li>
  <li>Added permissions from AndroidMainfeast.xml</li>
  <li>copied the xml folder containing "configs.xml"</li>
  </ol>
  
  <p>Now I don't understand where's the problem. It is showing the below error as shown in the screenshot
  <img src="https://i.stack.imgur.com/BrhSl.png" alt="enter image description here"></p>
  
  <p>Here is my HTML file</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
    &lt;head&gt;
      &lt;title&gt;Notification Example&lt;/title&gt;
  
      &lt;script type="text/javascript" charset="utf-8" src="cordova-2.0.0.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" charset="utf-8"&gt;
  
      // Wait for Cordova to load
      //
      document.addEventListener("deviceready", onDeviceReady, false);
  
      // Cordova is ready
      //
      function onDeviceReady() {
          // Empty
      }
  
      // Show a custom alert
      //
      function showAlert() {
          navigator.notification.alert(
              'You are the winner!',  // message
              'Game Over',            // title
              'Done'                  // buttonName
          );
      }
  
      // Beep three times
      //
      function playBeep() {
          navigator.notification.beep(3);
      }
  
      // Vibrate for 2 seconds
      //
      function vibrate() {
          navigator.notification.vibrate(2000);
      }
  
      &lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;p&gt;&lt;a href="#" onclick="showAlert()"&gt;Show Alert&lt;/a&gt;&lt;/p&gt;
      &lt;p&gt;&lt;a href="#" onclick="playBeep()"&gt;Play Beep&lt;/a&gt;&lt;/p&gt;
      &lt;p&gt;&lt;a href="#" onclick="vibrate()"&gt;Vibrate&lt;/a&gt;&lt;/p&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Any advice? Thanks!</p>