title: Change project name on Android Studio
body: <p>I want to change the name of my project and module. But if I try to rename them Android Studio notify me some errors...<br/><br/>
  e.g. I want to change the name from "MyApplication" to "AndroidApp" as shown in the image below.<br/>
  <img src="https://i.stack.imgur.com/opnWQ.png" alt="enter image description here"><br/>
  In the first rectangle I want to change it in: </p>
  
  <blockquote>
    <p><strong>AndroidApp</strong> ("G:...\Android\AndroidApp).<br/></p>
  </blockquote>
  
  <p>In the second rectangle I want to change it in:</p>
  
  <blockquote>
    <p>AndroidApp <strong>[AndroidApp-AndroidApp]</strong><br/><br/></p>
  </blockquote>
  
  <p>edit: This is the log:</p>
  
  <blockquote>
    <p>Gradle: Project 'AndroidApp' not found in root project 'MyApplicationProject'.</p>
  </blockquote>
  
  <p>build.gradle:</p>
  
  <pre><code>buildscript {
      repositories {
          mavenCentral()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:0.5.+'
      }
  }
  apply plugin: 'android'
  
  repositories {
      mavenCentral()
  }
  
  android {
      compileSdkVersion 18
      buildToolsVersion "18.0.1"
  
      defaultConfig {
          minSdkVersion 7
          targetSdkVersion 16
      }
  }
  
  dependencies {
      compile 'com.android.support:support-v4:18.0.0'
  }
  </code></pre>
  
  <p>settings.gradle:</p>
  
  <pre><code>include ':MyApplication'
  </code></pre>