如何启动Eclipse的多个实例(多个工作区),并有ADT插件工作? [英] How to launch several instances of eclipse (multiple workspaces) and have ADT plugin working?

查看:1997
本文介绍了如何启动Eclipse的多个实例(多个工作区),并有ADT插件工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个一个问题日食 ADT插件时,我想启动Eclipse的几个实例。

I have a problem with eclipse and ADT plugin when I want to launch several instances of eclipse.

我推出的工作区与我的Andr​​oid项目我在哪里可以调试,一切都很好。

I launch a workspace with my Android projects where I can debug and everything's fine.

我切换到另外一个与我的Web项目,它也适用。

现在的问题是,当我启动这些Eclipse实例与另一个工作区,我有以下问题:

The problem is that when I launch these eclipse instance with another workspace, I've got the following problem :

[2013-07-15 11:12:50 - ddmlib] An established connection was aborted by the software in your host machine
java.io.IOException: An established connection was aborted by the software in your host machine

下面的问题是:<一href="http://stackoverflow.com/questions/5618664/an-established-connection-was-aborted-by-the-software-in-your-host-machine">An建立连接被你的主机的软件终止

Here is the problem : An established connection was aborted by the software in your host machine

我知道如何重新启动Eclipse和它解决了我的问题,当一个实例发生。 随着日食的两个实例,它并不能解决所有的问题。

I know how to restart eclipse and it solves my problem when it happens with one instance. With two instances of eclipse, it doesn't solve the problem at all.

我可以有两个Eclipse安装并启动之一,安装了ADT插件并启动另外一个,我还没有安装ADT,但我想只有一个安装了Eclipse ...

I could have two eclipse installations and launch one with ADT plugin installed and launch the other one where I haven't installed ADT, but I would like to have only one installed eclipse...

  • 在工作区配置?
  • 在Eclipse配置?
  • 在ADT配置?
  • 在别的?

推荐答案

如果您安装了ADT插件在一个工作区,并确保ADT没有安装在其他工作区,你可以有实例中打开。

If you install the ADT plugin within one workspace, and ensure ADT isn't installed in the other workspace, you can have to instances open.

运行Eclipse从不同的工作区两个独立的情况下,将工作非常糟糕,如果这两种情况都试图通过亚行连接到该设备,这是因为:

Running two separate instances of Eclipse from different workspaces will work very poorly if both instances are trying to connect to the device through ADB, because:

  1. 反映在设备列表中的设备状态可能会不匹配
  2. 在调试器可能无法连接到Eclipse中的正确的实例,从而导致:
    • 在该应用程序可保持显示的对话框写着等待调试器
    • 在调试器可能脱落运行时
  1. The device state as reflected in the Devices list may be mismatched
  2. The debugger may not attach to the correct instance of Eclipse, causing:
    • The app may remain displaying the dialog reading "waiting for debugger"
    • The debugger may detach while running

我试着让这个设置好了,我怕我们确实没有一个解决方案。

I've tried getting this set up as well, and I'm afraid there simply isn't a solution for this.

这篇关于如何启动Eclipse的多个实例(多个工作区),并有ADT插件工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆