title: I am trying to launch Settings through adb using the adb monkey command, but it keeps printing out "Killed". How can I find out what is causing this?
body: <p>I am using <code>adb shell monkey -p app.package.name -c android.intent.category.LAUNCHER 1</code> to try to launch the settings app so that I can turn on MTP and connect this android device to my computer, but I keep getting <code>killed</code> every time I enter the command in the adb shell.</p>
  
  <p>How can I find out why this is happening? I have tried restarting adb, getting <code>su</code> privelages, and rebooting the device, but nothing changes.</p>
  
  <p>Thanks in advance!</p>
  
  <p>EDIT: The actual command is <code>adb shell monkey -p com.android.settings -c android.intent.category.LAUNCHER 1</code></p>
  
  <p>EDIT 2: Probably already known, but this happens for any package name, not just settings. Not sure if that is relevant or not :/</p>