How to debug a site on Android?

I donโ€™t have an Android phone or tablet, and it seems that on some Android devices that use a browser in a browser, my site is stuck for half a minute until it loads.

I tested various emulators found on the Internet, for example, BrowserStack, etc. The browser just stuck for a while. This does not apply to the iPhone or the desktop.

How can I debug this problem? How can I see the developer console or errors, or find out what causes the slowness?

+6
source share
2 answers

These links will help you debug code without physical Android at all.

Debug Studio Android User Guide: Getting Started , Projects and Tools .

Google Developers page .

+2
source

You can use Remote Debugging with Chrome for Android if a problem occurs in this browser (which is the default browser in recent versions of Android)

How to use remote debugging with emulator


If the problem only occurs with a legacy Android browser, you can get some information by tracking http requests with Fiddler

How to use Fiddler with Android

+2
source

Source: https://habr.com/ru/post/952161/


All Articles