title: Android: Unable to instantiate application
body: <p>I renamed my package and now I get this strange error:</p>
  
  <pre class="lang-none prettyprint-override"><code>Unable to instantiate application
  app.MyApplication: java.lang.ClassNotFoundException: 
  app.MyApplication in loaderdalvik.system.PathClassLoader
  </code></pre>
  
  <p>The <code>MyApplication</code> class is in <code>Application/app</code>. The Manifest says:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="Application"&gt;
  </code></pre>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;application 
      android:label="AGG"
      android:name="app.MyApplication"...
  </code></pre>
  
  <p>I tried restart, clean built. Is doesn't work on an emulator nor on a real device.</p>
  
  <p>What on Earth is going on? </p>