How to connect via adb to a (Remote Session) Android Device on AWS Device Farm

0

Hi everyone, I have the same question with the author from https://stackoverflow.com/questions/45365413/how-to-connect-via-adb-to-a-remote-session-android-device-on-aws-device-farm.

It seems like the answer is archived so please let me put it here again.

""" Can I connect to Android device during a remote session via adb?

I would need to connect to the Android device via adb( using tcpip mode) but I presume, I can't connect to a specific device via a public IP(?) so how can I connect from a ubuntu-server ec2 instance or a local machine to a device farm Android device during a remote session?

During the remote access session, the device has private ip, offcourse (e.g. 192.168.1.10). Would using a VPC help in this regard?

Any help/pointers would be greatly appreciated.

Thanks. """"

Hope for your help! Thank you!

已提問 2 年前檢視次數 1337 次
1 個回答
0

Today, the ability to connect from your local machine to an Android device in AWS Device Farm over adb is not available for remote access. However, you can execute adb commands during an automation test session using the yaml file in custom mode of execution on Device Farm. Note, this still does not give you the ability to connect from your host machine directly to the device in Device Farm.

AWS
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南