title: Caused by: java.lang.IllegalStateException: package not installed?
body: <pre><code>06-26 05:07:17.890: E/AndroidRuntime(3231): FATAL EXCEPTION: main
  06-26 05:07:17.890: E/AndroidRuntime(3231): Process: com.sample.calendar, PID: 3231
  06-26 05:07:17.890: E/AndroidRuntime(3231): java.lang.RuntimeException: Unable to instantiate application android.app.Application: java.lang.IllegalStateException: Unable to get package info for com.sample.calendar; is package not installed?
  06-26 05:07:17.890: E/AndroidRuntime(3231):     at android.app.LoadedApk.makeApplication(LoadedApk.java:516)
  06-26 05:07:17.890: E/AndroidRuntime(3231):     at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4317)
  06-26 05:07:17.890: E/AndroidRuntime(3231):     at android.app.ActivityThread.access$1500(ActivityThread.java:135)
  06-26 05:07:17.890: E/AndroidRuntime(3231):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
  06-26 05:07:17.890: E/AndroidRuntime(3231):     at android.os.Handler.dispatchMessage(Handler.java:102)
  06-26 05:07:17.890: E/AndroidRuntime(3231):     at android.os.Looper.loop(Looper.java:136)
  06-26 05:07:17.890: E/AndroidRuntime(3231):     at android.app.ActivityThread.main(ActivityThread.java:5017)
  06-26 05:07:17.890: E/AndroidRuntime(3231):     at java.lang.reflect.Method.invokeNative(Native Method)
  06-26 05:07:17.890: E/AndroidRuntime(3231):     at java.lang.reflect.Method.invoke(Method.java:515)
  06-26 05:07:17.890: E/AndroidRuntime(3231):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
  06-26 05:07:17.890: E/AndroidRuntime(3231):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
  06-26 05:07:17.890: E/AndroidRuntime(3231):     at dalvik.system.NativeStart.main(Native Method)
  06-26 05:07:17.890: E/AndroidRuntime(3231): Caused by: java.lang.IllegalStateException: Unable to get package info for com.sample.calendar; is package not installed?
  06-26 05:07:17.890: E/AndroidRuntime(3231):     at android.app.LoadedApk.initializeJavaContextClassLoader(LoadedApk.java:376)
  06-26 05:07:17.890: E/AndroidRuntime(3231):     at android.app.LoadedApk.getClassLoader(LoadedApk.java:329)
  06-26 05:07:17.890: E/AndroidRuntime(3231):     at android.app.LoadedApk.makeApplication(LoadedApk.java:508)
  06-26 05:07:17.890: E/AndroidRuntime(3231):     ... 11 more
  </code></pre>
  
  <p>I'm getting this kind of error in my logcat. Although I'm getting this error my project runs ok.So i just want to clarify these things regarding this error:</p>
  
  <pre><code>1.what causes this error?
  
  2.what may happened if the error persist?
  
  3.how to fix this error?
  </code></pre>