title: How to move and rename a project in android studio?
body: <p>This should be a really simple question :)</p>
  
  <p>I have a project that works fine. Now I wanted to rename it and to change the path of the projectfolder. First it seemd simple: right click -> "move" and "refactor/rename". </p>
  
  <p>After moving and renaming my project folder and my apk modul there was not the same project-structur as before. My project libs have been included twice.
  I looked in the '.iml' files and saw that the previous path was included - so I changed this. After this I could compile my project over the command line but not with the IDE. There I got this error:</p>
  
  <pre><code>NullPointerException: no project directory specified
  </code></pre>
  
  <p>Whats the default way to move and rename a project?
  I solved my problem by making a new project and copying all files, but it would be very cool to know the solution of this "problem".</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Origin Project-Structure:</p>
  
  <pre><code>MyProject
  --- libraries
  --- MyApp
  </code></pre>
  
  <p>After Moving:</p>
  
  <pre><code>MyProject
  --- MyProject (new path)
  --- MyProject (old path)
  </code></pre>
  
  <p>I think I have to do more than just copy the project. Somehow I have to specify the "new" project, havn't I? </p>