title: ANDROID webdriver with selenium
body: <p>I am running the sample test project given in the android sdk for web driver.the code is:</p>
  
  <pre><code>package simple.app.test;
  
  import android.test.ActivityInstrumentationTestCase2;
  
  import org.openqa.selenium.By;
  import org.openqa.selenium.WebDriver;
  import org.openqa.selenium.WebElement;
  import org.openqa.selenium.android.AndroidWebDriver;
  
  import simple.app.SimpleAppActivity;
  
  public class SimpleGoogleTest extends ActivityInstrumentationTestCase2&lt;SimpleAppActivity&gt; {
      private WebDriver driver;
      private WebDriver googledriver;
  
      public SimpleGoogleTest() {
          super("simple.app", SimpleAppActivity.class);
      }
  
      @Override
      protected void setUp() throws Exception {
        driver = new AndroidWebDriver(getActivity());
      }
  
      @Override
      protected void tearDown() {
         driver.quit();
      }
  
      public void testGoogleWorks() throws Exception {
          driver.get("http://www.google.com");
          Thread.sleep(10000);
          WebElement searchBox = driver.findElement(By.name("q"));
          searchBox.sendKeys("Android Rocks!");
          searchBox.submit();
          String title = driver.getTitle();
          assertTrue("Got title: " + title, title.contains("Google"));
         assertTrue(driver.findElements(By.partialLinkText("Android")).size() &gt; 1);
      }
  }
  </code></pre>
  
  <p>I am getting the following issue:</p>
  
  <ol>
  <li>Android2.2-NoSuchMethorError</li>
  <li>Android2.3.1-process crashed.</li>
  </ol>
  
  <p>Please help me to resolve these issues.</p>