title: Class extending Application throws ClassNotFoundException
body: <p>I have a class that extends the application class and sometimes in my developer console I see an error saying <code>ClassNotFoundException</code></p>
  
  <pre><code>java.lang.RuntimeException: Unable to instantiate application ecm2.android.ActiveStore: java.lang.ClassNotFoundException: ecm2.android.ActiveStore
  at android.app.LoadedApk.makeApplication(LoadedApk.java:501)
  at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4221)
  at android.app.ActivityThread.access$1400(ActivityThread.java:139)
  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1284)
  at android.os.Handler.dispatchMessage(Handler.java:99)
  at android.os.Looper.loop(Looper.java:137)
  at android.app.ActivityThread.main(ActivityThread.java:4918)
  at java.lang.reflect.Method.invokeNative(Native Method)
  at java.lang.reflect.Method.invoke(Method.java:511)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1004)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:771)
  at dalvik.system.NativeStart.main(Native Method)
  Caused by: java.lang.ClassNotFoundException: ecm2.android.ActiveStore
  at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
  at android.app.Instrumentation.newApplication(Instrumentation.java:982)
  at android.app.LoadedApk.makeApplication(LoadedApk.java:496)
  ... 11 more
  </code></pre>
  
  <p>This is how I declare it in my manifest</p>
  
  <pre><code>&lt;application
      android:name=".ActiveStore"
      android:icon="@drawable/icon"
      android:label="@string/app_name"
      android:theme="@android:style/Theme.NoTitleBar" &gt;
  </code></pre>
  
  <p><code>ActiveStore</code> is just a class that holds an application context to start and cancel alrams so why would I get this error?</p>
  
  <p><strong>Update:</strong></p>
  
  <p>I am still seeing this error from time to time in my developer page even after putting a <code>.</code> infront of the class name. It seems to only happen on an update or new install</p>