Reputation: 11362
My problems is:
And in the same time:
What I have done:
Development build; Autoconnect profiling; scripts debugging;
is enabledADB can see the phone without any issues:
C:\Users\UKS2\AppData\Local\Android\Sdk\platform-tools> adb devices
List of devices attached
a616d3d10204 device
Additional information:
What did I miss?
I think that Unity for some reason trying to connect to the phone by some incorrect way/adress/port after app install. But how to fix this? And why it's have no problems in install app process in this case?
Upvotes: 3
Views: 3066
Reputation: 1370
This works for iPhone too!
Would like to add to the answer by Andrew, because it I couldn't realise the proper way to disable it entirely. Disable the firewall like this:
On Windows 10: Windows Defender Firewall with Advanced Security --> Overview --> Windows Defender Firewall Properties:
In there I had to set Firewall State to 'off' for both Domain Profile, Private Profile and Public Profile tabs. (perhaps not all were needed, but was short on time, so didn't experiment). Disabling all can expose your pc, making it vulnerable.
Also, double check that the wifi is enabled on the actual device (phone) and that you are connected to the same router as your computer. The USB wire between to PC wasn't enough!
Perhaps might be worth to launch your console in Administrator mode (I always do by default)
Upvotes: 0
Reputation: 11362
It's sounds like a joke. Problem was in Firewall.
Few days with this problem I have think that Firewall is disabled on my computer.
But it wasn't.
Upvotes: 2