Unable to resolve ANR in android
<p>Wen i install my apk file on android device and after installation wen i hit the open button my application does not start and shows force close.</p>

<p>The logcat output of my application is shown below :</p>

<pre><code>    09-28 12:14:57.651: INFO/ActivityManager(124): Starting activity: Intent { act=android.intent.action.MAIN flg=0x10000000 cmp=com.biz.mlm/.SplashScreen }

09-28 12:14:57.660: WARN/ActivityManager(124): Permission Denial: starting Intent { act=android.intent.action.MAIN flg=0x10000000 cmp=com.biz.mlm/.SplashScreen } from ProcessRecord{44ffa660 1130:com.android.packageinstaller/10026} (pid=1130, uid=10026) requires android.permission.WRITE_CONTACTS

09-28 12:14:57.672: DEBUG/AndroidRuntime(1130): Shutting down VM

09-28 12:14:57.672: WARN/dalvikvm(1130): threadid=1: thread exiting with uncaught exception (group=0x4001d800)

09-28 12:14:57.700: ERROR/AndroidRuntime(1130): FATAL EXCEPTION: main

09-28 12:14:57.700: ERROR/AndroidRuntime(1130): java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.MAIN flg=0x10000000 cmp=com.biz.mlm/.SplashScreen } from ProcessRecord{44ffa660 1130:com.android.packageinstaller/10026} (pid=1130, uid=10026) requires android.permission.WRITE_CONTACTS

09-28 12:14:57.700: ERROR/AndroidRuntime(1130):     at android.os.Parcel.readException(Parcel.java:1247)

09-28 12:14:57.700: ERROR/AndroidRuntime(1130):     at android.os.Parcel.readException(Parcel.java:1235)

09-28 12:14:57.700: ERROR/AndroidRuntime(1130):     at android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:1298)

09-28 12:14:57.700: ERROR/AndroidRuntime(1130):     at android.app.Instrumentation.execStartActivity(Instrumentation.java:1373)
09-28 12:14:57.700: ERROR/AndroidRuntime(1130):     at android.app.Activity.startActivityForResult(Activity.java:2817)

09-28 12:14:57.700: ERROR/AndroidRuntime(1130):     at android.app.Activity.startActivity(Activity.java:2923)

09-28 12:14:57.700: ERROR/AndroidRuntime(1130):     at com.android.packageinstaller.InstallAppProgress.onClick(InstallAppProgress.java:224)

09-28 12:14:57.700: ERROR/AndroidRuntime(1130):     at android.view.View.performClick(View.java:2408)
09-28 12:14:57.700: ERROR/AndroidRuntime(1130):     at android.view.View$PerformClick.run(View.java:8816)

09-28 12:14:57.700: ERROR/AndroidRuntime(1130):     at android.os.Handler.handleCallback(Handler.java:587)

09-28 12:14:57.700: ERROR/AndroidRuntime(1130):     at android.os.Handler.dispatchMessage(Handler.java:92)

09-28 12:14:57.700: ERROR/AndroidRuntime(1130):     at android.os.Looper.loop(Looper.java:123)
09-28 12:14:57.700: ERROR/AndroidRuntime(1130):     at android.app.ActivityThread.main(ActivityThread.java:4627)
09-28 12:14:57.700: ERROR/AndroidRuntime(1130):     at java.lang.reflect.Method.invokeNative(Native Method)

09-28 12:14:57.700: ERROR/AndroidRuntime(1130):     at java.lang.reflect.Method.invoke(Method.java:521)

09-28 12:14:57.700: ERROR/AndroidRuntime(1130):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
09-28 12:14:57.700: ERROR/AndroidRuntime(1130):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
09-28 12:14:57.700: ERROR/AndroidRuntime(1130):     at dalvik.system.NativeStart.main(Native Method)
09-28 12:14:57.740: WARN/ActivityManager(124):   Force finishing activity com.android.packageinstaller/.InstallAppProgress
</code></pre>

<p>Please help me by guiding me about what I have done wrong</p>

<p>EDIT :</p>

<p>The permissions in my manifest are :</p>

<pre><code>&lt;uses-permission android:name="android.permission.INTERNET" /&gt;
    &lt;uses-permission android:name="android.permission.READ_PHONE_STATE" /&gt;
    &lt;uses-permission android:name="android.permission.WRITE_CONTACTS" /&gt;
    &lt;!-- &lt;uses-permission android:name="android.permission.INSTALL_PACKAGES"/&gt; --&gt;
    &lt;application android:icon="@drawable/biz_logo"
        android:permission="android.permission.WRITE_CONTACTS"&gt;
</code></pre>

<p>After this also it is behaving same </p>
