【问题标题】:adb and ifconfig commands not work in intel edison with android things SOadb 和 ifconfig 命令在英特尔爱迪生与 android things SO 中不起作用
【发布时间】:2018-01-20 03:34:30
【问题描述】:

我将 Android Things SO 放入我的英特尔 Edison 和 Arduino 分线板。 我运行这个例子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 命令来卸载软件包

有人可以帮我吗?

【问题讨论】:

    标签: linux iot android-things intel-edison


    【解决方案1】:

    来自发行说明:

    已知问题

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

    您必须卸载前一个应用程序(或关闭它),因为它与该引脚保持打开连接。

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

     adb uninstall com.example.androidthings.simplepio
    

    但是,您还可以使用脚本卸载所有其他 AndroidThings 应用(当您玩过大量示例时,这很方便)。

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

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

    【讨论】:

    【解决方案2】:

    要卸载从your example 安装的com.example.androidthings.simplepio 软件包,请从您的计算机(不是从您的设备)执行以下命令:

    adb uninstall com.example.androidthings.simplepio
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-01-14
      • 2018-06-18
      • 1970-01-01
      相关资源
      最近更新 更多