• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

ANDROID STUDIO

beatsal

Lurker
Trying to say hello world to my Huawei KII-L05 with Android 3.0.1 but every time get error:

com.android.ddmlib.AdbCommand Rejected Exception: device unauthorized
This adb server's $ADB_VENDOR_KEYS not set
 
Thanks, tried the link but too high (and bit disjointed) for me. Hard to understand since I am a novice. Any site that gives step-by-step instructions? After connecting my phone, it still does not see or recognize it!
 
This is the Android Development forum or channel where your OP was moved to, you're here. :)
I can't answer your problem though, I'm not a developer and don't know Android Studio.
 
Last edited:
looks like no one can, judging by the useful replies - sitting at 0!

So the link I provided has a clear step by step guide for fixing this problem. Have you tried it? And please lose the attitude. You're getting free advice on this forum, and nobody is obliged to answer you.

  1. unplug device
  2. adb kill-server
  3. adb start-server
  4. plug device
 
Thanks. Do appreciate your help and suggestions.
Tried:
1. opened AS
2 Got to myapp i.e. c\users\admin\asp\myapplication
3. run
did not get to ADB so cannot find ADB Kill server. Also, after 3 above, the gradle runs for a long time; wonder if something wrong with my setup.
.
 
Do you know what ADB is? It stands for Android Debug Bridge.
It's a command line utility that allows you to connect with attached devices. It comes with the Android SDK tools. If you installed these, then you have adb already installed. You don't run this from within Android Studio, it's a command line utility. So you need to open up a cmd window and type the command
Please read and understand the information presented in the following link. There are lots of other web resources with useful information on this subject.

https://www.howtogeek.com/125769/how-to-install-and-use-abd-the-android-debug-bridge-utility/
 
Back
Top Bottom