Ask Your Question

adb throwing "error: insufficient permissions for device."

asked 2017-07-21 07:30:20 -0500

Giordano gravatar image

updated 2017-07-21 07:30:47 -0500

Hi all,

I recently upgraded to Fedora 26. Now when I'm developing with Android Studio and try to run the application on the device I get in the console this message:

07/21 14:12:35: Launching app
$ adb push /home/user/someapp/app/build/outputs/apk/app-debug.apk /data/local/tmp/com.someapp insufficient permissions for device.
See [] for more information.
Error while Installing APK

If I try manually, I get a similar message:

$ adb install app/build/outputs/apk/app-debug.apk                                                                                       14:18:28
* daemon not running. starting it now at tcp:5037 *
* daemon started successfully *
error: insufficient permissions for device.
See [] for more information.
adb: error: failed to get feature set: insufficient permissions for device.
See [] for more information.
- waiting for device -

I didn't experience this problem in Fedora 25. Any suggestion on how to fix it?

I couldn't find useful information on the linked documentation (they refer to a plugdev issue which is not my case).

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-12-06 12:17:38 -0500

cben gravatar image

I got same error, for a different command in Fedora 29. Indeed sudo adb didn't help, and linked doc about plugdev doesn't apply (my fedora doesn't even have a plugdev group).

The tip from helped me: I'd previously tried adb without sudo, so it started a server under my user. Restarting it as root got past this error:

adb kill-server
sudo adb start-server
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-07-21 07:30:20 -0500

Seen: 612 times

Last updated: Jul 21 '17