

I also made sure that when plugged in, the phone has USB Debugging ON (or allow USB debugging in charging mode, but not recommended) and the Camera (PTP) / Transfer photos / Photo Browsing via USB option is chosen. They were of the same version 26.6.1 (checked by sdk\tools\bin\sdkmanager.bat -version)Īfter the setting, I closed Unity, restarted adb, and check if phone was detected by


Go to the Android SDK path on your computer and under platform-tools open the cdmįor me, my device is there but its state is, unauthorized.Īnd so the solution was to authorize it again, there are many ways to do it:ġ- try to switch the USB debugging option on and off under Developer options/DebuggingĪlso, try to Revoke USB debugging authorizations. For me, the device was working just fine, but once while unity was building up the editor froze and I had to kill the unity editor, and when I started it again unity couldn't recognize the device, and so after hours of struggling I finally find the solution.įirst, identify the adb status of your device
