Android工作室没有检测到我的手机,但adb来自命令行(linux)

时间:2016-02-25 21:13:23

标签: android android-studio adb

我在基于Debian OS的Linux上,我安装了Android SDK和Android Studio。我可以通过命令行在我的手机上安装adb,但是Android工作室无法检测到我的手机。

我在事件日志中只有这一行

4:56:09 PM Platform and Plugin Updates: The following component is ready to update: Android SDK Platform-tools

但是,当我更新SDK平台工具时,我收到了此事件日志错误

Adb connection Error:EOF
    5:07:27 PM Connection attempts: 1
    5:07:28 PM Connection attempts: 2
    5:07:29 PM Connection attempts: 3
    5:07:30 PM Connection attempts: 4
    5:07:31 PM Connection attempts: 5
    5:07:32 PM Connection attempts: 6
    5:07:33 PM Connection attempts: 7
    5:07:34 PM Connection attempts: 8
    5:07:35 PM Connection attempts: 9
    5:07:36 PM Connection attempts: 10
    5:07:37 PM Connection attempts: 11
    5:07:37 PM '/usr/android-sdk-linux/platform-tools/adb,start-server' failed -- run manually if necessary
    5:07:37 PM adb restart attempts: 1
    5:07:37 PM /usr/android-sdk-linux/platform-tools/adb: 1: /usr/android-sdk-linux/platform-tools/adb: Syntax error: ")" unexpected
    5:07:38 PM Connection attempts: 12
    5:07:38 PM '/usr/android-sdk-linux/platform-tools/adb,start-server' failed -- run manually if necessary
    5:07:38 PM adb restart attempts: 2
    5:07:38 PM /usr/android-sdk-linux/platform-tools/adb: 1: /usr/android-sdk-linux/platform-tools/adb: Syntax error: ")" unexpected
    5:07:39 PM Connection attempts: 13
    5:07:39 PM '/usr/android-sdk-linux/platform-tools/adb,start-server' failed -- run manually if necessary
    5:07:39 PM adb restart attempts: 3
    5:07:39 PM /usr/android-sdk-linux/platform-tools/adb: 1: /usr/android-sdk-linux/platform-tools/adb: Syntax error: ")" unexpected
    5:07:40 PM Connection attempts: 14
    5:07:40 PM '/usr/android-sdk-linux/platform-tools/adb,start-server' failed -- run manually if necessary
    5:07:40 PM adb restart attempts: 4
    5:07:40 PM /usr/android-sdk-linux/platform-tools/adb: 1: /usr/android-sdk-linux/platform-tools/adb: Syntax error: ")" unexpected
    5:07:41 PM Connection attempts: 15
    5:07:41 PM '/usr/android-sdk-linux/platform-tools/adb,start-server' failed -- run manually if necessary
    5:07:41 PM adb restart attempts: 5
    5:07:41 PM /usr/android-sdk-linux/platform-tools/adb: 1: /usr/android-sdk-linux/platform-tools/adb: Syntax error: ")" unexpected
    5:07:42 PM Connection attempts: 16

即使我从Android Studio获得了错误日志,我也可以从命令行运行adb。

0 个答案:

没有答案