How can I open the console of an application running on a device? I would like to review the logs that I put in the application.
How can I open the console of an application running on a device? I would like to review the logs that I put in the application.
You can use Chrome to analyze the console, debug the application, and other features.
If you prefer to use a physical device instead of an emulator, you must enable mode developer and enable USB debugging.
Open Google Chrome and in the address bar type the following path:
chrome://inspect
Then a page similar to this will be displayed:
OnthispageundertheRemoteTargetheadingalldevicesthatareconnectedtothePCwillbedisplayed,inmycaseIamusinganemulator.Tobeabletoviewtheconsoleandinspecttheappjustclickoninspect
andanewpagewillopen,itwilldisplaytheappina"mirrored" way and on this page we can have access to the console and other features: