title: Application class not found in Android after using ProGuard
body: <p>My application worked well, without any errors, so far. But lately I've began using ProGuard to obfuscate the code now I see the following error report in the Google Play developer console:</p>
  
  <pre><code>java.lang.RuntimeException: Unable to instantiate application MYPACKAGE.MyApp: java.lang.ClassNotFoundException: MYPACKAGE.MyApp
  at android.app.LoadedApk.makeApplication(LoadedApk.java:482)
  at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3950)
  at android.app.ActivityThread.access$1300(ActivityThread.java:127)
  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1197)
  at android.os.Handler.dispatchMessage(Handler.java:99)
  at android.os.Looper.loop(Looper.java:137)
  at android.app.ActivityThread.main(ActivityThread.java:4507)
  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:980)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:747)
  at dalvik.system.NativeStart.main(Native Method)
  Caused by: java.lang.ClassNotFoundException: MYPACKAGE.MyApp
  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:945)
  at android.app.LoadedApk.makeApplication(LoadedApk.java:477)
  </code></pre>
  
  <p><code>MyApp</code> is the custom application class, obviously. There's only one error report on that issue so far, although there are 10,000+ active installations. Does that mean I shouldn't bother with that problem or could it be a serious issue? How can I resolve this?</p>