检索持久性设备的设备属性时出错

时间:2018-12-01 06:21:37

标签: android-studio flutter device

虽然我可以编译并运行到仿真器,但是我无法在我的硬设备上编译..但是过去已经可以。从那时起,我不得不重新安装AS和Intellij,现在尝试在PixelXL上安装时会收到此消息

⣾Error retrieving device properties for ro.product.cpu.abi:
error: insufficient permissions for device
See [http://developer.android.com/tools/device.html] for more information

我去过提供的链接并按照说明进行操作,但仍然不满意。

有趣的是:

bin $ flutter doctor -v
[✓] Flutter (Channel beta, v0.11.12, on Linux, locale en_AU.UTF-8)
• Flutter version 0.11.12 at /home/jedaa/bin/flutter
• Framework revision 06ec8d3b41 (2 days ago), 2018-11-28 15:56:58 -0800
• Engine revision 72c7a75672
• Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

⣾Error retrieving device properties for ro.product.cpu.abi:
error: insufficient permissions for device
See [http://developer.android.com/tools/device.html] for more information


[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
• Android SDK at /home/jedaa/bin/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• ANDROID_HOME = /home/jedaa/bin/Android/sdk
• Java binary at: /home/jedaa/bin/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
• All Android licenses accepted.

[✓] Android Studio (version 3.2)
• Android Studio at /home/jedaa/bin/android-studio
• Flutter plugin version 31.1.1
• Dart plugin version 181.5656
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] IntelliJ IDEA Community Edition (version 2018.3)
• IntelliJ at /opt/idea
• Flutter plugin version 31.1.4
• Dart plugin version 183.4733

[✓] VS Code (version 1.29.1)
• VS Code at /usr/share/code
• Flutter extension version 2.21.0

[✓] Connected device (1 available)
• HT69R0205363 • HT69R0205363 • android-arm • Android null (API null)

医生说已经连接了,但是没有插入硬设备。.

Device is persistent

即使移除了所有硬件和虚拟设备,硬设备仍是AS仿真器连接面板的永久居民。并重启!!?

我如何摆脱持久设备?

0 个答案:

没有答案