android - Running apps on Genymotion over local network -


i have 2 machines running on same network. use 1 machine development , other has various android emulators.

i need run apps on emulator running on other pc development pc. run command in android studio should make app install in genymotion running on other pc.

possible? ideas ?

this possible. first need expose genymotion devices local network. this, create device want run on dedicated computer. open virtualbox locally , each device this:

  1. open settings > network tab
  2. open "adapter 2"
  3. change "attached to" option "bridged adapter" (by default set nat)
  4. click ok

then need local ip of device. can running command:

adb shell "ifconfig | awk '/inet addr/{print substr(\$2,6)}' | awk 'nr==2'" 

when these things done, come development pc. open terminal , type each of remote genymotion devices:

adb connect <device_ip> 

this way, connect local adb deamon remote devices.

you able control remote genymotion devices if local. can run adb install install apks remotely.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -