Unity debugging for Android devices

I find it difficult to find debugging excerpts that works on a unit with an android device. I tried both visual studio code and monodevelop.

In android:

I have successfully completed all the steps described here to connect android to Wi-Fi in tcpip mode: https://docs.unity3d.com/Manual/AttachingMonoDevelopDebuggerToAnAndroidDevice.html enter image description here

In unity

In the build settings, I checked "development build" and "script debugging". When I build and run, it programs my device just fine over Wi-Fi. Android Build Settings

For monodevelop

"attach to process", Unity Editor. enter image description here : https://forum.unity3d.com/threads/attaching-monodevelop-debugger-to-an-android-device.245814/ , . linksys, , multicast → . - , , ?

monodevelop , vscode

VS

, : https://code.visualstudio.com/Docs/runtimes/unity

vscode, " " Android Player ". ?" enter image description here

, , "Unity Attach Debugger" , : "command" attach.attachToDebugger " " enter image description here

!

+4
2

.

. " ".

Android, , monodevelop, ( Run | Attach to Process) monodevelop. .

.

# 15 manuelpeirone answer

0

Could not find target name 'Android Player'. Is it running? Visual Studio Code, Android-, , () Wi-Fi.

. .:)

0

Source: https://habr.com/ru/post/1666954/


All Articles