Ahmed
Ahmed

Reputation: 1789

How to debug a website on Android?

I don't have an Android phone or tablet, and it seems that on some Android devices using stock browser my website is stuck for half a minute until it loads.

I've been testing with various emulators found online like BrowserStack, etc. The browser is just stuck for a while. That's not the case for iPhone or desktop.

How can I debug this issue? How can I see a developer console or errors or figure out what's causing the slowness?

Upvotes: 8

Views: 13118

Answers (2)

user2676813
user2676813

Reputation:

These links will help you debug code in general without having a physical android.

Android studio user guide on debugging: Start, Projects and Tools.

Google developers page.

Upvotes: 1

nicopico
nicopico

Reputation: 3636

You can use Remote Debugging with Chrome for Android if the problem happens on this browser (which is the default browser on recent Android versions)

How to use Remote Debugging with the emulator


If the issue only occurs with the legacy Android browser, you might be able to get some information by monitoring the http requests with Fiddler

How to use Fiddler with Android

Upvotes: 3

Related Questions