title: How Do I Import a Non-Android Eclipse Maven Project into Android Studio?
body: <p>I am starting at a disadvantage as I know neither Eclipse, Gradle or Android Studio.  As such, I may not be using the correct terminology for everything, but I'll give it a shot.  My ultimate goal is to get a working Eclipse-based Android app imported into Android Studio and hand it back to the Android developer.  This question is about a problem I encountered on the way.</p>
  
  <p>I have successfully imported the main Android project into AS.  Now I'm trying to pull in another project it depends upon as a module.  The dependency is a Maven project.  It has a pom.xml, a .project and a .classpath.  It's not an Android project, so there's no AndroidManifest.xml.  It has a src but no res folder.  I want this project to be a module rather than an external dependency as the developer will modify the source code on occasion.</p>
  
  <p>The problem is that AS refuses to accept the project as an importable module.  The Add Module dialog, when pointed to the project's root directory, continues to warn that I haven't yet selected a valid Android Eclipse or Gradle project.  The Next button stays grayed-out.  I agree that this is neither an Android-specific nor a Gradle project, but I have read <a href="http://confluence.jetbrains.com/display/IntelliJIDEA/Import+an+Existing+Project" rel="nofollow">here</a> that IntelliJ IDEA will import such projects.  It appears that AS will not.</p>
  
  <p>There are several other non-Android Eclipse projects that also won't import as modules in the same way.  These include ordinary Maven and ant-based libraries.  </p>
  
  <p>How do I accomplish this?  The GUI seems out to thwart me.  If I get down to the Gradle XML level, can I do it and will the modules show up normally in the GUI?  Do I have to go back to Eclipse and convert these to Gradle projects first?</p>
  
  <p>Thanks in advance.</p>