当前位置:网站首页>问题——adb shellerror: insufficient permissions for device: verify udev rules.
问题——adb shellerror: insufficient permissions for device: verify udev rules.
2022-06-29 03:09:00 【口袋里のInit】
目录
1. 问题
adb shell
error: insufficient permissions for device: verify udev rules.
See [http://developer.android.com/tools/device.html] for more information.
2. 原因
从上面给出的提示翻译成中文是”设备权限不足“,adb devices给出的提示 ”No permission“,所以我们要解决非标设备默认无法被识别的问题。
3. 解决
添加权限:
- 1、打开文件路径,到/etc/udev/rules.d 下:
cd /etc/udev/rules.d - 2、来到之后在这里创建一个51-android.rules文件:
sudo vim 51-android.rules - 3、然后在文件中添加如下配置:
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0666" - 4、保存退出
这时候就只差最后一步 - 5、再为51-android.rules加上权限
sudo chmod a+x 51-android.rules - 6、最后
将设备拔下来再连接上就可以了,记得回到主目录下再进行adb root,
如果不放心就adb devices一下看看
边栏推荐
- 18. `bs對象.節點名.next_sibling` 獲取兄弟節點
- Tu ne peux pas comprendre le feu?
- Movement state change of monitoring device of Jerry's watch [chapter]
- sql连续登录问题
- 【云原生】这么火,你不来了解下?
- Method overload summary
- leetcode 统计无向图中无法互相到达点对数
- allegro设置网络飞线以及网络颜色的方法
- Programmers whose monthly salary is less than 30K must recite the interview stereotype. I'll eat it first
- 50 lectures on practical application of R language (34) - practical application cases of curve separation (with R language code)
猜你喜欢

Basic MySQL database operations

The method of exporting packages of all components from existing PCBs in Altium Designer

音响是如何把微弱声音放大呢

18. `bs object Node name next_ Sibling` get sibling nodes

2022-2028 global low carbon concrete industry research and trend analysis report

How to optimize databases and tables

【一起上水硕系列】最简单的字幕配置

In depth analysis of Apache bookkeeper series: Part 3 - reading principle

1110: nearest common ancestor (function topic)

If you dare to write MQ message queue middleware on your resume, you must win these questions!
随机推荐
In depth analysis of Apache bookkeeper series: Part 3 - reading principle
Informatics Olympiad 1361: Produce
双击事件与单击事件的那些事
归并排序
SQL continuous login problem
【云原生】这么火,你不来了解下?
Only in the past four years, Microsoft finally gave it up!
Have you learned the common SQL interview questions on the short video platform?
For safe login of wechat applet, the openid returned by wechat must be verified first to ensure the uniqueness of information.
Solve the problem that the cursor flashes after clicking a point when measuring the distance in Allegro
今日直播|Apache Pulsar x KubeSphere 在线 Meetup 火热来袭
allegro设置网络飞线以及网络颜色的方法
2022-2028 global UAV detection radar industry research and trend analysis report
SQL training 01
Is the account opening of GF Securities really safe and reliable
Oracle recovery tools actual batch bad block repair
2022-2028 global CAE engineering service industry research and trend analysis report
測試入門——集成測試
PAT甲级 A1057 Stack
50 lectures on practical application of R language (34) - practical application cases of curve separation (with R language code)