 <p>Try This </p> <pre><code> ActivityManager am = (ActivityManager) getApplicationContext().getSystemService("activity"); Method forceStopPackage; forceStopPackage =am.getClass().getDeclaredMethod("forceStopPackage",String.class); forceStopPackage.setAccessible(true); forceStopPackage.invoke(am, pkg); </code></pre> <p>In manifest file add this</p> <pre><code>&lt;uses-permission android:name="android.permission.FORCE_STOP_PACKAGES"&gt;&lt;/uses-permission&gt; </code></pre>