Search code examples
androidusbdevice-driver

ADB - No device found


While attempting to create an apk file in Unity, I encountered the below error. I'm running a Windows 8 PC with a brand new Huawei Honor 8 cell phone connected by USB to the computer. Connecting my older Nexus 4 android phone has the same result: Unity

My PC's operating system was able to find the device, and the drivers appear to be up-to-date in the device manager: DeviceMgr

However, running adb devices from the command prompt reveals nothing could be found. I also tried restarting the adb server: enter image description here

Nothing appears in Chrome either: enter image description here

I attempted other connection types in the device itself (PTP, MTP, Charge only, etc), but this had no affect on the problem, even after disconnecting and reconnecting the phone's USB cable to the computer:

enter image description here

I've got JDK installed and Android SDK. In the SDK manager my installed files look like this: enter image description here

I also checked that the USB driver is installed in the manager: enter image description here

At this point I have no idea what I'm missing, it's probably something simple.


Solution

  • Have you enabled developer options on your phone and ensured that USB debugging is turned on?