title: How to close android application completely using adb or appium or any command line+python
body: <p>I have tried to close android application using adb command and appium server but it is minimizing the app, not closing. I used below command for closing. </p>
  
  <blockquote>
    <p>adb shell am force-stop com.package.name</p>
  </blockquote>
  
  <p>AND if i try this command to kill process then it says,</p>
  
  <blockquote>
    <p>adb shell kill 21860</p>
  </blockquote>
  
  <p>Error:Operation omitted</p>
  
  <p>Please let me know any way or command line to close android app completely, not run in background. </p>
  
  <p>Thanks in advance!</p>
  
  <p>I don't want to see in the background application list like below image.<a href="https://i.stack.imgur.com/uGciR.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uGciR.jpg" alt="enter image description here"></a></p>