Android emulator - search for port number

I am running Android Studio with Microsoft Visual Studio Emulator for Android on Windows 10. (I cannot use the default emulator due to the problem that I am encountering with Intel HAXM)

Can someone tell me an easy way to find the port number on which the emulated device is running? I need to connect to the emulator via Telnet to send SMS commands.

+4
source share
1 answer

Usually the command adb devicestells you the emulator port: port

+5
source

Source: https://habr.com/ru/post/1609612/


All Articles