I have a remote server which connect some android devices, how can I debug on them from my local laptop, with user interaction enabled?
Asked
Active
Viewed 1,676 times
0
-
do you have network connection from you local computer to the remote server where you have connected your android devices ? – Rilwan Mar 15 '16 at 01:55
-
@Rilwan Of course, but I would not prefer a remote desktop solution – cgcgbcbc Mar 15 '16 at 02:18
1 Answers
-1
Basically you need to forward the adb client port[remote pc where you connncted your android device to you local PC where you are interested to work with adb. There are many solutions -
- use ssh or rsh or similar remote shell programs
Install rsh/ssh server in remote PC, install rsh/ssh client local pc. Then you can directly call rsh remoteserverIp adb shell blah blah
. Easiest solution without any coding, only next>next>install
for rsh/ssh server is needed :)
- Connect to remote PC via vnc or rdp
This you are not interested in.
- Make your own script or program to forward adb client port on remote pc to your local pc.
This can easily done in python/Java. you need to run a server in remote PC which will forward adb client port from remote PC to you local PC over your network connection. fortunately there is a handy solution for this .try this https://bitbucket.org/chabernac/adbportforward/wiki/Home

Rilwan
- 2,251
- 2
- 19
- 28