Isabel Inc
Isabel Inc

Reputation: 1899

Weinre server no target for debugging webview

I'm trying to debug a webview on my phone using the weinre server. It shows up as a client but not as a target. I know that 4.4 and above have chrome debugging but I need to debug in 4.3 I've tried changing the localhost to the my ip address but it doesn't work. Any ideas as to why the target is not showing up? I've attached a screenshot for reference. enter image description here

Upvotes: 1

Views: 886

Answers (1)

Patrick Mueller
Patrick Mueller

Reputation: 697

Your server (running on your windows computer?) needs to be visible to your (android?) phone. Can you browse to the weinre server on your windows computer from your android phone - just to test that you have connectivity there?

You could also try using a public weinre server, such as: http://weinre.mybluemix.net/

Also possible there is an error in your HTML or other JS somewhere that is preventing the weinre script from running. You could try running on a 4.4 device and use a real debugger to see if you can figure out why it won't work on your 4.3 device.

Upvotes: 1

Related Questions