【问题标题】:Eclipse looking for adb in wrong directory in UbuntuEclipse 在 Ubuntu 的错误目录中寻找 adb
【发布时间】:2013-08-12 08:36:54
【问题描述】:

我安装了 Eclipse Juno 和 adb 1.0.31。然而,Eclipse 在错误的目录中寻找 adb,所以当我尝试运行任何代码时,我会收到以下错误。

The connection to adb is down, and a severe error has occured.
You must restart adb and Eclipse.
Please ensure that adb is correctly located at '/home/goister/android-sdks/platform-tools/adb' and can be executed.

如何让 Eclipse 指向正确的 adb 目录?

谢谢。

【问题讨论】:

    标签: android eclipse adb


    【解决方案1】:

    您可以在 eclipse 首选项中将目录设置为 ADT,adb 仅包含在该目录中!

    【讨论】:

      【解决方案2】:

      窗口->首选项->Android。然后更改 SDK 位置

      【讨论】:

        【解决方案3】:

        在eclipse中点击windows->preference->

        点击左侧的'android'并指定“sdk位置:”

        /home/adt-bundle-linux-x86_64-20130219/sdk

        希望对你有帮助

        【讨论】:

          猜你喜欢
          • 2018-01-09
          • 2020-04-15
          • 2020-05-26
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 2011-07-03
          • 2013-03-30
          • 1970-01-01
          相关资源
          最近更新 更多