Android: how to debug app's start-up process
问题 I am investigating some issues which happen during my app's startup process, but DDMS won't start the debug mode until the process has started, is there a way I can capture the events earlier? 回答1: I know that this is a couple of years late, but for any future searches: Putting WaitForDebugger into your code is one way. Unlocking developer options (by tapping on the build number in system information on the android device) in Settings allows us to select an application for debugging and then