kill a process running in the android emulator

How do I kill an application running in the emulator? I mean manually and not through code.

The Settings->Apps->Running tab does not display my application and Dev Tools->Running Processes lists my application but I don’t see how to kill the process. I don’t see any option in adb to kill a process either.

  • Android & Robotium - Test activity that expects an extra?
  • Creating a java library with Eclipse
  • Why is the Android emulator so slow? How can we speed up the Android emulator?
  • How to setContentView in a fragment?
  • Facebook App Invite, Invite Friends
  • How to retrieve google play games ID with the new updated Google play games Gamer ID?
  • How to create a submenu with radio buttons in Android?
  • Creating an Arraylist of Objects
  • BluetoothAdapter.getDefaultAdapter() throwing RuntimeException while not in Activity
  • Android - How to get the processName or packageName by using PID?
  • app namespace not found in styles.xml in res folder
  • android : camera doesn't open in marshmallow
  • 2 Solutions collect form web for “kill a process running in the android emulator”

    If you want to kill without ddms :

    Use this to list the processes and their pid’s

    adb shell ps 

    and go for the kill using

    adb shell kill <PID>

    Where <PID> is the Process you want to kill (int)

    Go to DDMS and select your App process. Click STOP icon in upper-right-hand side. It will kill the process.

    Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.