Reputation: 10112
Is there any way to define the port number of the Android emulator?
Upvotes: 0
Views: 661
Reputation: 15774
Yes
emulator -port <port> -avd <avd_name>
The console port number must be an even integer between 5554 and 5584, inclusive. +1 must also be free and will be reserved for ADB.
Refer to Android Emulator for command line parameters for emulator.
Upvotes: 2