Fixed
Status Update
Comments
bi...@google.com <bi...@google.com>
ac...@google.com <ac...@google.com>
sa...@google.com <sa...@google.com> #2
Fix on the way to allow default ADB port (5037) to be user managed.
sa...@google.com <sa...@google.com> #3
For internal records, we have patched this issue to allow adb server running on port 5037 to be user managed (see ag/24869854).
an...@google.com <an...@google.com> #4
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Iguana | 2023.2.1 Canary 7
- Android Gradle Plugin 8.3.0-alpha07
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
Description
The minimum is in AdbOptionsService.java:
If the user has an adb server running on 5037 already, and they want Android Studio to use it, that is not possible because of this minimum. It appears to be an oversight as the comment describes the value as a default.
The minimum valid TCP port is 1.