don't use e.printStackTrace(); remove it or use instead Log.d(TAG, Log.getStackTraceString(e)). Define the error level with d,i,w...