title: Projects run with Eclipse but won't run with Android Studio
body: <p>I imported a working app from Eclipse to Android Studio (AS) 1.0.2.  I unchecked
  - replace jars with dependencies when possible
  - replace library sources with dependencies when possible
  - create Gradle-style module names
  (I've also tried this import with all three checked)</p>
  
  <p>This app uses Google Maps V2 but I kept maps.jar (from V1) around because I have a lot of code that uses the GeoPoint class and I didn't want to rewrite that code.  The project compiles fine in AS and the GeoPoint Class is recognized at compile time.</p>
  
  <p>At run time however, the following exception is thrown upon the first reference of the GeoPoint class:
  NoClassDefFoundError: Failed resolution of: Lcom/google/android/maps/GeoPoint.</p>
  
  <p>EDIT: After changing the dependency to 'com.google.android.gms:play-services:6.5.87' I no longer get the noClassDefFound error when running with an actual device.  But I still get it in the emulator.  It is possible this was the case before changing the dependecny.  Could running in the emulator possibly cause a noClassDefFound Error??</p>
  
  <p>I don't recall ever having this happen in Eclipse: if something is recognized at compile time it was always recognized at run time too.
  What could possibly cause the GeoPoint class not to be found at run time when compiled in AS but to be found at run time when compiled in Eclipse.</p>
  
  <p>If I can't solve this I'm going to have to stick with Eclipse and I didn't want to do that.  Could it be a bug in AS??</p>
  
  <p>The following  picture shows the project in AS showing the GeoPoint class and the module buile.gradle</p>
  
  <p><img src="https://i.stack.imgur.com/V3HHB.png" alt="mttTrial project"></p>
  
  <p>For a better picture : <a href="https://dl.dropboxusercontent.com/u/39662979/AS.png" rel="nofollow noreferrer">https://dl.dropboxusercontent.com/u/39662979/AS.png</a></p>