how can i attach visual studio debug under android
hi, i have a question about debugging with visual studio.
first, sorry about my poor english.
i followed construction in below page. https://docs.unity3d.com/Manual/AttachingMonoDevelopDebuggerToAnAndroidDevice.html
my develop machine & mobile within same router and i disable all firewall in my windows
"adb devices" command shows me mobile successfully attached
Execute Build & Run command in Unity and successfully deploy the game to mobile.
"Attach Unity Debugger" in Visual studio shows me my phone is connected with.
i can choose "Attach to Unity - My Phone@IP:56012" in Visual Studio toolbar.
and i start debugging BUT NOTHING HAPPEN.( maybe visual studio can not connect with unity debugger )
also i checked with mono develop
"Run > Attach Process" menu have my mobile information
choose my mobile and play but mono develop can not connect with debugger too.
i think problem is
"Attach to Unity - My Phone@IP:5555" is right but my visual studio show me "Attach to Unity - My Phone@IP:56012". is that correct?
my router does not have MULTICAST option. so i think multicast doesn't work for me.
if anyone have ideas about this problem it will be so great for me.
This is my develop environment - windows 10, visual studio 2015, Unity 5.3.3f1 PERSONAL
Bump We have exactly the same problem! Any thoughts on this? Anyone?
Answer by sckyj · Mar 27, 2016 at 12:28 PM
Does anyone have any idea? i spent lots of my time for this.
Answer by YangTingWei · Sep 28, 2018 at 07:40 AM
You can close your windows fire defense.
Then you can use usb debugging.(With Build setting : Develope Build and scripting)
In VS Attach Unity Debug can see the list when you lunch the APK.