AT&T Iot Starter Kit (2 gen) WNC_ADB unauthorized

ckasky's picture


Firstly thank you for reading my problem.

The problem is that, previously I used SK2 in a virtual machine (Ubuntu 16.04) in my Win10 laptop successfully, now I want to transfer the platform to raspberry pi3 with raspbian system. I did the exact same steps as what I did in the virtual machine, downloaded the AvnetWNCSDK package, pushed the file to ~/home/XX/.android/ directory, then I entered "sudo adb devices", it says "WNC_ADB unauthorized". I tried kill-server and start-server many times, it was still the same. If I entered "adb shell", it says "This adb server's $ADB_VENDOR_KEYS is not set". I also add an 51-android.rules in directory ~/etc/udev/rules.d/, this problem is still there. But when I plugged SK2 back to virtual machine, it can be accepted and worked well. so I have no idea how to solve that. If anyone could help me. Thank you so much. 


jflynn129's picture

You are the first to try and run the SK2 with a PI I think, officially, we have only verified support for Ubuntu.  That said, if Raspbian supports ADB (which I assume it does since it's a Linux based OS) it should work.  Given that it is reporting as "unauthorized", it seems that one of two things are the problem. (1) ADB wasn't started in supervisor mode (sudo adb devices) or (2) You didn't place the file into a directory that adb.exe can find.  Did you try putting into the same directory as adb.exe?