title: The import com.google.android.gms cannot be resolved
body: <p>I am new to Android development. By following <a href="http://www.vogella.com/articles/AndroidGoogleMaps/article.html%22this%20tutorial%22">this tutorial</a> I got errors <code>The import com.google.android.gms cannot be resolved</code> when I wrote the code into the <code>MainActivity.java</code>:</p>
  
  <pre><code>import com.google.android.gms.maps.CameraUpdateFactory;
  import com.google.android.gms.maps.GoogleMap;
  import com.google.android.gms.maps.MapFragment;
  import com.google.android.gms.maps.model.BitmapDescriptorFactory;
  import com.google.android.gms.maps.model.LatLng;
  import com.google.android.gms.maps.model.Marker;
  import com.google.android.gms.maps.model.MarkerOptions;
  </code></pre>
  
  <p>By searching for various fixes I made sure to try these out:</p>
  
  <ul>
  <li>I have downloaded Google API's for a particular API level through
  Android SDK manager.</li>
  <li>I checked off Google API as project build target.</li>
  <li>I have added <code>&lt;uses-library android:name="com.google.android.maps" /&gt;</code>
  line into the <code>AndroidManifest.xml</code> as a child of <code>&lt;application&gt;</code> tag.</li>
  <li>I cleaned the project by selecting <code>Project-&gt;Clean...</code> and built it
  from scratch.</li>
  <li>I included <code>.jar</code> file for maps by right-clicking on my project, went
  to build path and added external archive locating it in my SDK: <code>android-sdk-windows\add-ons\addon_google_apis_google_inc_8\libs\maps</code></li>
  </ul>
  
  <p>Unfortunately, none of the above have helped.</p>