- Home /
'Attach to process'(to android device) is always fail in MonoDevelop.
Hi, I trying to debug script in android device, but it is not working for me now.
Introduce my environment,
OS : Windows 7 64bit Professional K
Engine Version : Unity3d 4.6.6p4
Router : ipTIME N6004R
Android Device : Samsung Galaxy Note2 (SHV-E250S)
Android Version : 4.4.2 (Kikat)
Andoird Setting : USB debugging check, Allow mock location check.
And my steps,
Build APK in Unity with enable flags 'Development Build' and 'Script Debugging'.
Install APK to mobile device. (Copy apk to device and install).
Connect network PC(lan cable) and Mobile(wifi) on same router.
Connect mobile device to PC through USB cable.
'adb tcpip 5555' and output 'restarting in TCP mode port: 5555'.
Disconnect mobile device from PC (Disconnect USB).
'adb connect 192.168.0.7' and output 'connected 192.168.0.7:5555'.
'adb devices' and output '192.168.0.7:5555 device'.
Run game in mobile device.
Open project in MonoDevelop, Execute 'Run - Attach to Process'.
I can see 'Android:SHV-250S:192.168.0.7:5555' in process dropdown list.
Trying to attach to this, but always fail. It shows popup 'Could not connect to debugger'.
What's wrong in my steps? What's missing in my steps?
Firewall problem?
Router setting problem?
Android setting problem?
MonoDevelop setting problem?
Please help me anyone T.T
Your answer
Follow this Question
Related Questions
Failed to Android Debug on Mac 0 Answers
MonoDevelop Debugging of Android Player: How to Attach to Process of Android Device/Application 1 Answer
MonoDevelop unable to attach to Android device 0 Answers
deviceUniqueIdentifier 1 Answer
How to debug/test game on device while PC's Console displays real-time information 1 Answer