当我启动Eclipse并运行Android项目,它会打开一个新的模拟器每一次,当我、模拟器、它会、项目

2023-09-06 01:11:19 作者:呼吸很暧昧╯

Eclipse的Andr​​oid模拟器需要平均7分钟即可发起一项活动,其相当长的时间 一旦仿真器设置,其他项目可在同一个仿真器花费较少的时间来运行。 有时,当我启动Eclipse并运行Android项目,它会打开在同一模拟器安装项目的一个新的模拟器每次来代替。

Eclipse Android Emulator takes average 7 minutes to launch an activity ,its quite a long time Once emulator is Set ,Other projects can be run in same emulator which takes less times. Sometimes when i start eclipse and run android project, it opens a new emulator every time instead of installing the project in same emulator.

我有搜索关于这个问题,我发现单身很好的理由,连接被拒绝的传感器端口是一个常见的​​问题我不知道,这是真正的原因。

I have searched about this problem,I found the Single good Reason, Connection refused for the sensor ports is a common problem I am not sure , This is the real reason

我使用的的Eclipse的Windows 的,不支持Mac或Linux和previous机构是否正确设置我运行的下一个项目之前

I am using Eclipse for Windows,not Mac or Linux and previous activity is properly set before i run the next project

帮我搞清楚,有什么可这背后的问题的原因和如何使它正常。

Help me to figure out, what can be the reason behind this problem and how can i make it normal.

推荐答案

如果您正在运行Eclipse在什么通常发生在(1)你运行你的项目(2)它要求来选择Android设备的ADT插件( 3)如果没有设备可用,如:一个有效的模拟器,它会要求你创建一个。

If you are running Eclipse with the ADT plug in what normally happens is (1) you run you project (2) it asks to to select an android device (3) if no device is available, e.g. a valid emulator, it will ask you to create one.

如果Eclipse正在要求你每一次它是likley要创造一个新的模拟器怎么一回事,因为无论是(1)您没有选择的,表明你希望总是在特定的上市实例中运行该项目在弹出的窗口中选择您的仿真器(2)真的是没有compatable仿真器可用。

If Eclipse is asking you to creat a new emulator every time it is likley beacuse either (1) you have not selected the option on the pop up window indicating that you would like to always run the project in a specific listed instance of your emulator (2) there really is no compatable emulator available.

如果创建一个模拟器,但没有被发现(我怀疑是happeneing),你需要刷新你的ADT插件connectino到该仿真器。 ,选择向下的三角形在右边一路选择重置亚行可以通过将设备视图( - >显示视图 - >其他 - - >安卓>设备窗口)为此在Eclipse 。这将重新启动Android设备桥,又名什么日食连接到你的模拟器,并允许它再次认识到实例。你应该能够从此运行在模拟器项目。

If an emulator is created but not being found (as I suspect is happeneing), you need to refresh your ADT plug in connectino to that emulator. You can do this from within eclipse by going to the devices view (window --> show view --> other --> android --> devices), selecting the downward facing triangle all the way on the right and choosing "reset adb". This will reboot the android device bridge, a.k.a. what connects eclipse to your emulator, and will allow it to recognize that instance again. You should be able to run your project on that emulator from then on.