When I are using Java we put System.out.println() for identifying errors, where it went wrong.
A very naive method.
With android, I cannot even use this method to isolate why the app crashed.
With Rails we would read the log file.
But as I am new to Java and android, I don’t know which is the best practice.
I believe there is a best practice, but I don’t know what it is, and I couldn’t formulate a good query to google around.
Please help me, error check android.
use logcat.
For more information on how to debug refer this tutorial