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:
- open settings > network tab
- open "adapter 2"
- change "attached to" option "bridged adapter" (by default set nat)
- 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
Post a Comment