I’m trying to attach Unity to my Android build so that I can:
- See the output in the unity console
- Attach my debugger to the process
I can’t get this to work. For now I would be satisfied having the log appear in my unity console. I’ll cross the debugging bridge when I come to it (no pun intended) This is what I have successfully done so far:
- installed ADB
- ran the ADBserver
- Connected ADB to my Android device
- Connected Unity to ADB in the console (ADB@127.0.0.1:34999). (Or at least it doesn’t complain. The console outputs nothing when I run the build on device)
Here are some things to note that I have done that may or may not be a problem:
- The build I have on android was not built locally. It was built from a remote machine via Jenkins
- I was not able to obtain the subnet mask and gateway from my android. The instructions say these two values must be the same on my machine and my device, so perhaps this is a problem
Any help would be greatly appreciated.
I was able to get console output in unity when I build directly to the device from Unity. So lesson learned there.