hi,
i ve spent the last two days trying to connect to weinre to debug an app that is running on Android nexus emulator 4,1.2 on a windows 10 x64 machine.
So far i ve tried
global installation of weinre on my pc with following options (according to various stackoverflow threads)
- script tag with address localhost / pc ip 192.168.1.xx on port 8080
- placing script tag on various places according to stackoverflow threads, suggestions head, end before/after cordova.js etc..
- access origin on config both with "*" as well with specific local ip
- run weinre server both with boundHost all as well with boundHost specifiic local ip
- run emulator normal moe and debug mode
- enable / disable usb debugging on emulator
- windows defender on / off
no matter what targt remained none..
today i tried with weinre public server and puublic server's url on script tag, still
target none..
i know what else to try..
i spotted a while ago a thread mentioning that android emulator listens to localhost 5554
could this be the problem? perhaps telnet redirection from 5554 to 8080 or is this irrelevant?
also in case of public server, would it be necessary to apply port forwarding over the router?
te preferable solution is to make weinre run on my pc..
thanks in advance..