android dev 权限不够,android – 没有权限(plugdev组中的用户;你的udev规则是错误的吗?)...

本文介绍了当尝试使用Flutter和ADB连接Pixel手机时遇到的权限错误问题。尽管Nexus5可以正常连接,但Pixel手机却提示用户没有足够的权限。文章探讨了如何确保用户位于plugdev组中,并检查udev规则是否配置正确。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

命令flutter设备和adb设备给我同样的错误:

adb devices

List of devices attached

FA69H0308097 no permissions (user in plugdev group; are your udev rules wrong?); see [http://developer.android.com/tools/device.html]

颤动的医生检测到我的旧Nexus 5,但是,用我的Pixel手机,我得到了

权限错误. Pixel手机处于调试模式.

来自Ubuntu 7.10的颤振医生的输出是

flutter doctor

Doctor summary (to see all details,run flutter doctor -v):

[✓] Flutter (Channel beta,v0.1.5,on Linux,locale en_AU.UTF-8)

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)

[✓] Android Studio (version 3.0)

[✓] VS Code (version 1.21.0)

Error retrieving device properties for ro.product.cpu.abi:

error: insufficient permissions for device: user in plugdev group; are your udev rules wrong?

See [http://developer.android.com/tools/device.html] for more information

[✓] Connected devices (1 available)

如何让我的电脑访问我的Pixel手机?

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值