linux - adb 和 ifconfig 命令在带有 android things 的英特尔爱迪生中不起作用所以

标签 linux iot android-things intel-edison

我将 Android Things SO 放入带有 Arduino 分线板的英特尔 Edison 中。 我运行这个例子 enter link description here 一切正常。 但是当我尝试使用 IO13 运行其他代码时,我遇到了这个问题:

 E/HomeActivity: Error on PeripheralIO API
com.google.android.things.pio.PioException: android.os.ServiceSpecificException: IO13 is already in use But I can not do it.

enter link description here

我需要使用 adb 命令来卸载软件包

有人可以帮我吗?

最佳答案

来自发行说明:

已知问题

  • 当多个 Activity 包含 IOT_LAUNCHER 类别的 Intent 过滤器时,系统会显示一个应用选择器,在没有显示支持的设备上无法访问该应用选择器。 Android Things 仅支持单个启动器应用,此行为将在未来版本中禁用。

您必须卸载以前的应用程序(或关闭它),因为它与该 pin 保持着打开的连接。

您可以像这样卸载该特定应用:

 adb uninstall com.example.androidthings.simplepio

但是您也可以使用脚本来卸载所有其他 AndroidThings 应用程序(当您玩过很多示例时这很方便)。

https://gist.github.com/blundell/7c0c3bb17898b28fe8122b0dc230af50

下载并运行此脚本,如:./clear-android-things-apps.sh 它将卸载所有内容

关于linux - adb 和 ifconfig 命令在带有 android things 的英特尔爱迪生中不起作用所以,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41785972/

相关文章:

linux - 集成 Linux 软 + 硬重启

linux - ansible 配置的 Ubuntu 错误

c# - 如何在 Win10 IoT 中获取 SerialDevice 状态

azure - 了解 Azure 事件中心分区使用者模式

linux - 在较新的系统上构建较旧的 GLIBC

linux - 不同发行版的脚本

java - 使用 Esper java 进行订购事件

android - USB 通信 Android 手机到 Android Things

android - Raspberry Pi 4 是否支持 Android Things?

adb - 如何在 Android Things 上显示软键盘?