My question is simple. Should I remove Log.d/e/i/v and e.printStackTrace instructions before uploading my app to Android market?
My question is simple. Should I remove Log.d/e/i/v and e.printStackTrace instructions before uploading my
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If possible yes, Its a good application development practice, But proper handle of
e.printStackis necessary to prevent your application force close from un necessary exception. For this you can useLog.e(TAG, e.toString());in all catch block. This will be keep some necessary information about your application behavior and you can also easily get information about any force-close or exception for your application.