
You can go to Tools-> Android-> Android Device Monitor. If you are having issues trying to connect to the emulator or see any type of "Connection refused" errors, you may need to reset the Android Debug Bridge.

If you are not seeing any log messages, click on the Restart icon. See this guide for more details.Īndroid Studio contains a panel to receive logging messages from the emulator, known as LogCat. Database InspectionĪlso, the Stetho project can be used to view your local SQLLite database. The networking library you use determines what approach you can use. If you wish to inspect network traffic, see this guide on how to troubleshoot API calls. If the debugger isn't working, check the guide section below to get things running again. Notice the warning message at the top and an example of a screenshot of setting a breakpoint of a class defined in a JAR file below:

You can also use Navigate-> Declaration within the IDE and set breakpoints even within classes for which you may not necessarily have the actual source code. You can also click on the bug icon if you've enabled the Toolbar ( View-> Enable Toolbar):Īndroid Studio also provides a built-in decompiler. If you want to do more in-depth debugging in your code, you can setup breakpoints in your code by clicking on the left side pane and then clicking on Run-> Debug. This page will compile common issues experienced with Android Studio or above as they are experienced and recorded.


