当前位置:网站首页>問題——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一下看看
边栏推荐
- LeetCode 每日一题——324. 摆动排序 II
- 均贫富
- Stm32l4 Series MCU ADC accurately calculates input voltage through internal reference voltage
- How to optimize databases and tables
- 【一起上水硕系列】最简单的字幕配置
- Map and set use pari as the key value. How to define
- [Algèbre linéaire] 1.1 déterminant du deuxième et du troisième ordre
- STM32L4系列单片机ADC通过内部参考电压精确计算输入电压
- Pytoch Learning Series: Introduction
- In depth analysis of Apache bookkeeper series: Part 3 - reading principle
猜你喜欢

PWN新手入门Level0

FPGA (VII) RTL code III (complex circuit design 2)
![[linear algebra] 1.2 total permutation and commutation](/img/04/18fc358c6c426e10c8598bcee9cd43.png)
[linear algebra] 1.2 total permutation and commutation
![[线性代数] 1.2 全排列和对换](/img/04/18fc358c6c426e10c8598bcee9cd43.png)
[线性代数] 1.2 全排列和对换

The method of exporting packages of all components from existing PCBs in Altium Designer
![[線性代數] 1.1 二階與三階行列式](/img/ea/70b59c64d3287a887e371a9181fe45.png)
[線性代數] 1.1 二階與三階行列式

How does kubernetes store business data persistently? (10)

Leetcode daily question - 324 Swing sort II
![Jerry's watch stops moving [chapter]](/img/04/0238701722e1f90410b37385b164e2.jpg)
Jerry's watch stops moving [chapter]

PWN beginner level0
随机推荐
Codeforces Round #771 (Div. 2) ABC
Jerry's watch obtains alarm mode settings [chapter]
priority_ Understanding of queue
sql训练01
Tu ne peux pas comprendre le feu?
priority_queue的理解
Pvcreate ASM disk causes abnormal recovery of ASM disk group - sparing separation
How does kubernetes store business data persistently? (10)
【雲原生】這麼火,你不來了解下?
Three methods of time series prediction: statistical model, machine learning and recurrent neural network
Jerry's monitoring alarm clock [chapter]
matlab习题 —— 图像绘制练习
PWN attack and defense world guess_ num
Analytic hierarchy process (AHP)
leetcode 统计放置房子的方式数
測試入門——集成測試
Informatics Olympiad 1361: Produce
Is the account opening of GF Securities really safe and reliable
[線性代數] 1.1 二階與三階行列式
allegro对走好的线取消走线的方法