Mir
Mir

Reputation: 323

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.

Upvotes: 1

Views: 9487

Answers (2)

Joe Sisk
Joe Sisk

Reputation: 612

I had this issue, and I resolved it by checking my Player Settings (Edit -> Project Settings -> Player) and ensuring that the Minimum API Level was at or below my phone's Android version.

Upvotes: 0

user1814893
user1814893

Reputation: 301

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

Upvotes: 9

Related Questions