don't use e.printStackTrace(); remove it or use instead  Log.d(TAG, Log.getStackTraceString(e))