I installed the android-tools via dnf install android-tools inside a Fed32 toolbox then I connect my phone into the computer and run adb devices, So I expect the permission modal to appear on the phone, but it never happened, even when I remove and reconnect the USB cable, and even worst, every time I reconnect the USB cable, my phone ID appears again and again in the device list, see the screenshot bellow:
Some infos:
I’m using Fedora Silverblue 32 in a Toolbox of Fedora 32.
USB debug is properly enabled on the phone.
USB cable is properly connected to the phone and computer.
Every time I connect the phone to the computer the ID of the phone appears again in the adb devices list.
The access permission modal never appears in the phone.
Hi, I have the same problem recently. I think is due to an update, maybe the kernel. The current solution (hope it will be fixed) is to run adb with administrative privileges. If you already have the service running, execute: sudo adb kill-service
Then, from now on, you have to start adb with: sudo adb start-service
Then, you can use adb with your regular user: adb devices
Will show correctly and with permissions.
If you are going to develop with Android Studio, remember to launch first the adb with: sudo adb start-service
Then start Android Studio with the service running in that way. And remember that when closing Android Studio, it also kills the adb service, so you have to launch it again with sudo if want to use adb or start Android Studio again.
Is there another way to shut down the packaged in Android Studio?
FWIW, when I run AS as root, the built in adb works just fine. It’s an ugly fix,
but at least I’m not blocked.
I’d really love to be able to run it as myself.