I'm having trouble getting [Processing](https://processing.org/) 3.3.6 (x64) for **Windows 10** **to recognize my LG V20 android device**.

At first, I was getting a `NoClassDefFoundError` when I tried to run a sketch, and the Android SDK updater had 2 suggested updates that I couldn't install due to more errors. My phone was not listed in Processing. The device was I've enabled USB debugging, and the connection works; I can transfer files fine. 

After reading across the internet with little advice or success, I tried uninstalling all Android-related files on my computer, as well as any Processing-related files. I uninstalled Java, JRE and JDK. I then reinstalled them all: 

* Java 8u161 JDK and JRE
* Processing 3.3.6
* Android SDK (auto-installed by Processing)

It all installed without complaint, and everything seemed fine. However, Processing still can't find or recognize my device. I've also tried these exact steps on my laptop which has a mostly **clean install of Windows 10** (apart from chrome and some bloatware) with the same results.

I also tried running something via Processing's emulator; I may have done this wrong, but this comes up with a "Lost connection with emulator while launching" error.

From this, it feels like it HAS to be an issue with the phone, since it's on multiple PCs. But it also HAS to be an issue with the PC, since it occurs on both a phone and an emulator. Frankly, I'm dumbfounded as to what the problem is.

I'm not really sure what else I can do or try; I haven't found my problem anywhere else, and tried the solutions to all similar problems with no success. Does anybody have any ideas?

> 
> **EDIT**: **I fixed the problem**. I tracked down the location of my adb.exe, and ran "adb devices" in cmd at that location. It listed one
>  device (mine), and said it was unauthorized. A prompt appeared on my
>  phone, and upon confirming it, the device was authorized.
> 
> 
>