Android 虚拟设备未仅在 eclipse 中列出

Android virtual device not listed only in eclipse

我正在尝试在 Eclipse 中调试我的项目,但是当我打开 android 虚拟设备 (avd) window 时,我连接的设备未列出,但在通用 adb 中列出了并且状态正常。

该设备也在 android studio 中列出。

如何才能在 eclipse 中看到设备?

Android 对 Eclipse 的开发支持已于 2015 年底结束 as per this blog post

To that end and to focus all of our efforts on making Android Studio better and faster, we are ending development and official support for the Android Developer Tools (ADT) in Eclipse at the end of the year. This specifically includes the Eclipse ADT plugin and Android Ant build system.

从那时起,ADB 工具和协议 a number of changes 由于已被弃用而未反映在 Eclipse 插件中。

我建议在 Android Studio 中继续您的项目。有一个向导允许您通过转到 File > New... > Import Project... 和 select 当前 Eclipse 项目的文件夹来导入 Eclipse 项目。 Google 还提供了 migrating from Eclipse 的指南。