当前位置:网站首页>問題——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一下看看
边栏推荐
- 嵌入式开发如何进行源代码保密工作
- Kubernetes: container resource requirements and constraints (constraints)
- PWN新手入门Level0
- Stm32l4 Series MCU ADC accurately calculates input voltage through internal reference voltage
- On the fact that lambda expressions cannot handle recursion
- Informatics Olympiad 1361: Produce
- Applet view creation
- Jerry's watch pause [chapter]
- 18. ` BS object. Nom du noeud. Suivant Sibling ` get Brother Node
- Allegro's method of setting network flying line and network color
猜你喜欢

2022-2028 global long wave infrared camera and camera core industry research and trend analysis report

There's a mystery behind the little login

Allegro's method of setting network flying line and network color

Leetcode counts the logarithm of points that cannot reach each other in an undirected graph

FPGA (VII) RTL code III (complex circuit design 2)

Solve the problem that the cursor flashes after clicking a point when measuring the distance in Allegro

2022-2028 global bubble CPAP system industry survey and trend analysis report
![[线性代数] 1.1 二阶与三阶行列式](/img/ea/70b59c64d3287a887e371a9181fe45.png)
[线性代数] 1.1 二阶与三阶行列式

18. `bs object Node name next_ Sibling` get sibling nodes
![Jerry's watch stops moving [chapter]](/img/04/0238701722e1f90410b37385b164e2.jpg)
Jerry's watch stops moving [chapter]
随机推荐
PMP Business Analysis Overview
使用gdb添加断点的几种方式
认证培训|StreamNative Certification 培训第2期
FPGA (VIII) RTL code IV (basic circuit design 1)
Allegro's method of setting network flying line and network color
allegro设置网络飞线以及网络颜色的方法
Google Maps API v3~ simply turn off infoindow- Google Map API v3 ~ Simply Close an infowindow?
层次分析法(AHP)
PWN攻防世界Level2
Pvcreate ASM disk causes abnormal recovery of ASM disk group - sparing separation
兰宝传感科技冲刺科创板:年营收3.5亿 许永童家族色彩浓厚
[線性代數] 1.1 二階與三階行列式
Equal wealth
How to add the live video function to the website built by your own live video software (build a live video website)
There's a mystery behind the little login
Web GIS 航拍实现的智慧园区数字孪生应用
mgalcu-a509
【一起上水硕系列】Day 6-强肝学术论文!最细解释!
双击事件与单击事件的那些事
均贫富