当我启动eclipse并运行android项目时,它每次都会打开一个新的模拟器,

when i start eclipse and run android project, it opens a new emulator every time ,(当我启动eclipse并运行android项目时,它每次都会打开一个新的模拟器,)
本文介绍了当我启动eclipse并运行android项目时,它每次都会打开一个新的模拟器,的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Eclipse Android Emulator 平均需要 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 for Windows,而不是 Mac 或 Linux,并且在我运行下一个项目之前正确设置了以前的活动

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.

推荐答案

如果您使用 ADT 插件运行 Eclipse,通常情况是(1)您运行项目(2)它要求选择一个 android 设备(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 每次都要求您创建一个新的模拟器,这很可能是因为 (1) 您没有在弹出窗口中选择该选项,表明您希望始终在特定列出的实例中运行项目您的模拟器 (2) 确实没有兼容的模拟器可用.

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.

如果创建了模拟器但找不到(我怀疑正在发生),您需要将 ADT 插件刷新到该模拟器.您可以在 Eclipse 中执行此操作,方法是转到设备视图(窗口 --> 显示视图 --> 其他 --> android --> 设备),一直选择右侧的向下三角形并选择重置 adb".这将重新启动 android 设备桥,也就是将 eclipse 连接到您的模拟器的设备,并允许它再次识别该实例.从那时起,您应该能够在该模拟器上运行您的项目.

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.

这篇关于当我启动eclipse并运行android项目时,它每次都会打开一个新的模拟器,的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

VertX 3.9.7 when i receive the form quot;throw exceptionquot; Size exceed allowed maximum capacityquot;(VertX 3.9.7收到表单时抛出异常SIZE超出允许的最大容量QUOT;)
Android This feature requires ASM7(Android此功能需要ASM7)
JDK11 Upgrade Fails - ClassNotFoundException jdk.internal.ref.Cleaner(JDK11升级失败-ClassNotFoundException jdk.inder.ref.Cleaner)
How to make Eclipse compile patched modules on JDK 9+ by passing the --patch-module javac option to my project compiler? (see pic)(如何通过向我的项目编译器传递--patch-MODULE javac选项,让Eclipse在JDK 9+上编译打了补丁的模块?(见图))
JavaFX Modular Application, java.lang.module.FindException: Module javafx.controls not found (Java 11, Intellij)(JavaFX模块化应用程序,java.lang.mode.FindException:未找到模块javafx.Controls(Java 11,IntelliJ))
Cannot resolve symbol Theme.MaterialComponents.Light.NoActionBar (Android Studio)(无法解析符号Theme.MaterialComponents.Light.NoActionBar(Android Studio))