Wednesday, May 8, 2024
21
rated 0 times [  21] [ 0]  / answers: 1 / hits: 77256  / 2 Years ago, mon, january 24, 2022, 8:57:48

When I tried to push my apk file into a tablet, I got this error, please help me out.



adb server is out of date.  killing... 
* daemon started successfully *
error: insufficient permissions for device.


Thanks in advance for the help.


More From » command-line

 Answers
4

I've seen this same error sometimes on Ubuntu. A working workaround for this is running adb with sudo command. For example, if you're pushing app.apk on sdcard the command would be



sudo adb push app.apk /mnt/sdcard


Also, be sure you selected "USB debugging" mode in the Application settings (in GingerBread) or in Development section ( in IceCream Sandwich and above). If adb is already running, you should first kill it with the command sudo adb kill-server



Hope this will help.


[#33045] Monday, January 24, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
nerta

Total Points: 414
Total Questions: 103
Total Answers: 97

Location: England
Member since Wed, Apr 19, 2023
1 Year ago
;