Saturday, August 9, 2014

How to debug android app installation failures

Install "catlog" and "terminal emulator" apps from android market.

Run catlog app and begin recording log messages.

Start installation of the app to be debugged from android market.

On installation failure,  stop recording the log messages.  Open the recorded log.  Set log level filter to error.  This directly displays error messages.

If error message points to any file system permission or duplicate file issues,  use terminal emulator. It takes unix shell commands.  Use su command so that any command can be executed. To use su command the device should be rooted.

Followers