title: AndroidDriver cannot be resolved to a type
body: <p>I am new to java. I am trying to create a sample mobile automation testing application using Selenium web driver for android. <br/>
  I have installed the Android SDK and started the Android emulator based on the guidelines from the below links. <br/>
  <a href="http://www.abodeqa.com/2013/05/08/configuring-android-webdriver-in-eclipse/" rel="nofollow noreferrer">http://www.abodeqa.com/2013/05/08/configuring-android-webdriver-in-eclipse/</a> <br/>
  <a href="http://selenium.polteq.com/en/running-tests-on-an-android-simulator/" rel="nofollow noreferrer">http://selenium.polteq.com/en/running-tests-on-an-android-simulator/</a> <br/>
  <a href="https://code.google.com/p/selenium/wiki/AndroidDriver" rel="nofollow noreferrer">https://code.google.com/p/selenium/wiki/AndroidDriver</a></p>
  
  <p>I added the external jar files for selenium (<code>selenium-server-standalone-2.42.2</code>) and started the emulator using apk (<code>android-server-2.38.0.apk</code>) and added the code from the links.</p>
  
  <p>I get reference errors for android driver as (<code>The import.org.selenium.android cannot be resolved</code>)</p>
  
  <pre><code>import org.openqa.selenium.android.AndroidDriver;
  </code></pre>
  
  <p>and in the below code as (<em>Android driver cannot be resolved to a type</em>)</p>
  
  <pre><code>AndroidDriver driver = new AndroidDriver();
  </code></pre>
  
  <p>How to solve these reference errors for android ?. <br/>
  Any suggestions will be greatly helpful.
  Thanks in advance.</p>
  
  <p>EDIT : Added Screenshot
  <img src="https://i.stack.imgur.com/TOTM2.png" alt="Screenshot android reference error"></p>