•  Set breakpoints and then step through the code line by line
  •  Use the profiler tools in Android Studio to detect anomalies CPU, and network usage.
  •  Add a Thread.sleep()call before you start the new activity.
  •  inspect the logs in Logcat.

By Neha S

Leave a Reply

Your email address will not be published.