Search Issue Tracker

Fixed in 2019.1.X

Votes

0

Found in

2017.1.0b3

2018.3.0b5

Issue ID

1090170

Regression

Yes

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

Linux

-

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" "localabstract:Unity-com.foo.test"

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" "localabstract:Unity-com.foo.test"
(however, the port must be forwarded every time system after is restarted)

Comments (63)

  1. unity_K99WJS2TxGpRtA

    Apr 10, 2020 15:09

    It’s appropriate time to make some plans for the future and it is time to be happy. I have read this post and if I could I wish to suggest you few interesting things or advice. Perhaps you could write next articles referring to this article. I desire to read even more things about it!
    cupons amazon https://www.longisland.com/profile/cupomatoss

  2. unity_K99WJS2TxGpRtA

    Apr 05, 2020 05:42

    It proved to be Very helpful to me and I am sure to all the commentators here!
    Thi công rèm văn phòng https://list.ly/i/4501136

  3. unity_K99WJS2TxGpRtA

    Apr 02, 2020 06:54

    I read that Post and got it fine and informative.
    car stereo installation https://www.solcontrolcustomsandtint.com/car-audio/

  4. unity_K99WJS2TxGpRtA

    Mar 18, 2020 15:55

    I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post.
    The Evergreen Experience https://theevergreenexperience.com

  5. unity_K99WJS2TxGpRtA

    Mar 16, 2020 08:07

    I read a article under the same title some time ago, but this articles quality is much, much better. How you do this..
    Zahnarzt Luzern https://www.drsternina.ch/

  6. unity_K99WJS2TxGpRtA

    Mar 16, 2020 07:44

    Its a great pleasure reading your post.Its full of information I am looking for and I love to post a comment that "The content of your post is awesome" Great work.
    Zahnarzt Luzern https://www.drsternina.ch/

  7. unity_K99WJS2TxGpRtA

    Mar 14, 2020 12:44

    This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information...
    business cards https://ameri-print.com/products/business-stationery-new-orleans-metairie/

  8. unity_K99WJS2TxGpRtA

    Mar 13, 2020 09:23

    I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post.
    Notfallzahnarzt Bern https://www.dentcenter.ch/

  9. jazibraza53

    Mar 11, 2020 17:24

    Thank you very much for writing such an interesting article on this topic. This has really made me think and I hope to read more.
    The avenir condo https://www.the-avenircondos.com

  10. johndd110

    Mar 10, 2020 10:18

    Thank you so much for the post you do. I like your post and all you share with us is up to date and quite informative, i would like to bookmark the page so i can come here again to read you, as you have done a wonderful job.
    twain harte hotels https://www.menstylefashion.com/twain-harte-hotels-the-new-stay-style-at-hotel-cabins/

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.