title: Android - Unable to instantiate activity - Class not found exception after upgrading to ADT 22
body: <p>I have recently upgraded my ADT to version 22.
  After I have done so, I first received an error with my support library (which was relied on another library project).
  After I have copied the support library to my project and cleaned all my projects, I keep receiving the following errors when I try to launch my application:</p>
  
  <pre><code>java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.d.d/com.d.d.MainActivity}: java.lang.ClassNotFoundException: com.d.d.MainActivity
  </code></pre>
  
  <p>(I have renamed the real package name to com.d.d)</p>
  
  <p>But what keeps me suspicious that it is a cause of the support library changes, is the following line:</p>
  
  <pre><code>at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
  </code></pre>
  
  <p>It keeps me suspicious because when I have messed with the support library before, I received many errors that are related to dex something.</p>
  
  <p>Needless to say, the AndroidManifest contains the correct path for the activity.</p>
  
  <p>Any help will be much appreciated here.
  Thanks a lot.</p>