Search Issue Tracker

Fixed in 2019.1.X



Found in



Issue ID




[Android] [Linux] "Unable to forward network traffic to device" when trying to Build and Run to an Android device



Required: Unity configured to build to Android devices.
Repro steps:
1. Open the attached project
2. Build and run to Android device
3. Notice that the app is installed on the device but is not automatically opened
4. Check the console

Expected result: the app is installed and automatically opened on the device
Actual result: the app is installed but not opened; error thrown:
"CommandInvokationFailure: Unable to forward network traffic to device. Please make sure the Android SDK is installed and is properly configured in the Editor. See the Console for more details.
/home/unityqa/Android/Sdk/platform-tools/adb -s "efd3a563" forward "tcp:34999" ""

stderr [error: cannot bind listener: Address already in use]

Reproducible with: 5.6.3f1 (dev build only), 2017.1.0b3, 2017.2.0f3, 2017.4.13f1, 2018.2.11f1, 2018.3.0b5
Not reproducible with: 5.6.3f1 (non dev build)

Tested on: Ubuntu 16.04, Ubuntu 18.04
Issue not specific to a device

Workaround: Close Unity Editor and type the following in terminal: adb -s "xxx" forward "tcp:34999" ""
(however, the port must be forwarded every time system after is restarted)

Comments (63)

  1. johndd110

    May 24, 2020 11:51

    An interesting dialogue is price comment. I feel that it is best to write more on this matter, it may not be a taboo topic however usually individuals are not enough to talk on such topics. To the next. Cheers.
    túi xách da cá sấu nữ

  2. johndd110

    May 17, 2020 22:32

    This is the type of information I’ve long been trying to find. Thank you for writing this information.
    túi giấy đẹp

  3. unity_K99WJS2TxGpRtA

    May 17, 2020 16:22

    Great write-up, I am a big believer in commenting on blogs to inform the blog writers know that they’ve added something worthwhile to the world wide web!..
    bán balo đi phượt

  4. unity_K99WJS2TxGpRtA

    Apr 30, 2020 13:08

    Thank you again for all the knowledge you distribute,Good post. I was very interested in the article, it's quite inspiring I should admit. I like visiting you site since I always come across interesting articles like this one.Great Job, I greatly appreciate that.Do Keep sharing! Regards,
    dark gums

  5. unity_K99WJS2TxGpRtA

    Apr 29, 2020 17:14

    Thank you very much for the sharing! COOL..
    Dr Pawluk PEMF

  6. unity_K99WJS2TxGpRtA

    Apr 29, 2020 16:55

    Wonderful article, thanks for putting this together! This is obviously one great post. Thanks for the valuable information and insights you have so provided here.

  7. unity_K99WJS2TxGpRtA

    Apr 26, 2020 12:28

    Great post I would like to thank you for the efforts you have made in writing this interesting and knowledgeable article.

  8. unity_K99WJS2TxGpRtA

    Apr 22, 2020 10:53

    This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information...
    Microsoft Dynamics 365 Business Central

  9. unity_K99WJS2TxGpRtA

    Apr 13, 2020 11:54

    Great post I would like to thank you for the efforts you have made in writing this interesting and knowledgeable article.
    Zahnarzt in Zürich

  10. johndd110

    Apr 11, 2020 17:19

    This article is an appealing wealth of informative data that is interesting and well-written. I commend your hard work on this and thank you for this information. You’ve got what it takes to get attention.
    xo so mien bac hom nay

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.