Every Android app has its own user id, group id, and most of the time runs within its own process. So your app probably have no privilege to kill other process.
There is obviously a design flaw, you'd be better state out what actually you want to do.