Since I reinstalled Eclipse (simply deleted and downloaded it again) I can't debug my applications on Samsung Galaxy i9001 (with CyanogenMod - Android 4.4.2). It worked fine before reinstallation.
Unplug/plug, Uncheck/check "Debug Enabled", adb kill-server/adb start-server, restart phone/computer doesn't work for me. On the device authorize dialog never appears (but I remember that dialog appeared before reinstallation). I have no idea how to force this authorize dialog to display. There is no abd_key.pub file in .android directory. When i try read cpu info DDMS says:
[2014-04-15 12:47:06 - DDMS] device unauthorized. Please check the confirmation dialog on your device.
Any ideas? Is it possible to generate keys manually without confirmation dialog?
USB Connection
Wireless Connection
Linux-Ubuntu-14.04
I read all the answer for this post, nothing worked for me :(
This may be because I am not using normal end User device, working on corporate device!
Thing worked for me is:
Get VID,PID for your device from lsusb and update 51-android.rules (https://source.android.com/source/initializing.html#configuring-usb-access)
Ensure adb_usb.ini is also updated with same VID, PID
What I've done to solve the issue was to disconnect and reconnect the usb cable to the USB port again (done with another port on my machine).
Then I have chose to charge and that's it. The mobile device asked me to grant access for the machine, I agreed and that's solved the issue.
When running adb devices, I saw the device in the list.
(Done in Windows 10 home).
I run into the same issues with nexus7.
Following worked for fixing this.
Open
Developer
option in theSettings
menu on your device.Switch off
the button on the upper right of the screen.Delete
alldebug permission
from the list of the menu.Switch on
the button on the upper right of the screen.now reconnect your device to your PC and everything should be fine.
Sorry for my poor english and some name of the menus(buttons) can be incorrect in your language because mine is Japanese.
I wasted hours on this stupid issue. None of the above solutions worked for me on their own.
I'm running Windows 10. I had an old manual install of the Android SDK as well as Android Studio's SDK. I deleted my manually installed SDK and all my devices stopped working. These were the symptoms:
as well as
To be honest I'm not sure which of these steps got me my Allow USB debugging? prompts back so I listed EVERYTHING for completeness. Goes in order from easiest to hardest. Most people seem to be back on their feet after the first two sections.
Restart ADB
I would perform this after each of the sections below.
Go crazy with developer options
Replug devices
Start rebooting everything
Start deleting things
~/.android
folder. Sometimes this folder can have the wrong permissions which can cause issues. You might want to back this folder up first.Erase all Android related environment variables.
%ANDROID_HOME%
if you have it set%ANDROID_SDK_HOME%
if you have it setAt this point all my devices magically came to life and started displaying the Allow USB debugging? prompts and connecting properly through ADB. If you've made it this far and haven't found a solution, I am truly sorry you're in this predicament. Make sure you've restarted all devices and your dev machine at the end of all of these steps and connect to a fresh USB port using a new cable.
If that still doesn't work try some of these other SO posts on the subject:
I was tiered with this, I got that permission dialog by turning off wi-fi of my phone.
I tried many ways to solve this problem, this one works for me.
Install SnapPea on your PC. SnapPea
Plug your phone in USB Debugging mode and open SnapPea, a authorization dialog will show on your phone. The Dialog shows on the phone
Hope it helps.