Use Log.e instead of e.print stack trace.