title: Android: How to strace an app using ADB shell am start
body: <p>I need help on stracing Android apps in the SDK emulator.</p>
  
  <p>Here is my setup:</p>
  
  <p>I have an Android SDK emulator running the Android API 4.03 ADB shell connected to emulator.</p>
  
  <p>I am able to install an APK using the ADB install filename.apk</p>
  
  <p>I am able to run the app using the ADB shell <code>am start -a android.intent.action.Main -n com.akproduction.notepad/com.akproduction.notepad.NoteList</code></p>
  
  <p>I try to strace using (ADB shell) <code>strace am start -a android.intent.action.Main -n com.akproduction.notepad/com.akproduction.notepad.NoteList</code> but I get nothing!</p>
  
  <p>How do you trace the runtime behavior of Android apps and their installation?</p>
  
  <p>(P.S. The test app is located <a href="http://www.appbrain.com/app/ak-notepad/com.akproduction.notepad">here</a>.</p>