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. jazibraza53

    Mar 09, 2020 17:25

    If you set out to make me think today; mission accomplished! I really like your writing style and how you express your ideas. Thank you.
    ip address location https://textport.com/tools/ip-address-locator

  2. johndd110

    Mar 09, 2020 12:23

    This was a really great contest and hopefully I can attend the next one. It was alot of fun and I really enjoyed myself..
    http://sourceonewheelchairs.com

  3. jazibraza53

    Mar 08, 2020 14:40

    Thanks for this great post, i find it very interesting and very well thought out and put together. I look forward to reading your work in the future.
    hashtags https://toolzu.com/hashtag-generator-for-instagram/

  4. jazibraza53

    Mar 08, 2020 14:10

    This is my first time visit here. From the tons of comments on your articles,I guess I am not only one having all the enjoyment right here!
    sỉ áo thun trơn https://www.blurb.com/user/khosiquanss?profile_preview=true

  5. unity_K99WJS2TxGpRtA

    Mar 08, 2020 14:03

    I read a article under the same title some time ago, but this articles quality is much, much better. How you do this..
    Stay Dry Roofing Repair Near Me https://www.staydryroofing.com/

  6. johndd110

    Mar 08, 2020 13:04

    Your content is nothing short of brilliant in many ways. I think this is engaging and eye-opening material. Thank you so much for caring about your content and your readers.
    logobam.com https://logobam.com

  7. johndd110

    Mar 07, 2020 14:34

    Superbly written article, if only all bloggers offered the same content as you, the internet would be a far better place..
    Zahnarzt Bern https://www.dentcenter.ch/

  8. unity_K99WJS2TxGpRtA

    Mar 05, 2020 16:06

    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.
    text from computer https://textport.com

  9. johndd110

    Mar 01, 2020 09:41

    Yes i am totally agreed with this article and i just want say that this article is very nice and very informative article.I will make sure to be reading your blog more. You made a good point but I can't help but wonder, what about the other side? !!!!!!THANKS!!!!!!

    rescatorcc https://goldenshop.cc/

  10. unity_K99WJS2TxGpRtA

    Feb 25, 2020 15:24

    This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information...
    blog dulich https://www.crunchyroll.com/user/hoidulichs

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.