始终显示Eclipse Android Emulator-5554(Eclipse Android Emulator-5554 is always displayed)
我开始在Eclipse IDE中编写一个android应用程序。
但是当我运行应用程序(ctrl + f11)时,android设备选择器在线显示emulator-5554状态,即使我还没有启动任何模拟器。
我的问题是:这个模拟器从哪里来? 出于什么原因?
当我的模拟器启动时,我的android设备选择器:
有没有人遇到这个问题并向我解释? 谢谢。
I started to write an android app in Eclipse IDE.
But when I run the app (ctrl+f11), the android device chooser is showing emulator-5554 in state online, even if I did not start any emulator yet.
My question is: where does this emulator come from? and for what reason?
My android device chooser when my emulator started:
Has anyone run into this issue and explains it to me? thanks.
原文:https://stackoverflow.com/questions/21684710
更新时间:2019-10-14 02:39
最满意答案
感谢Rohan Kandwal。 这是真的。 当我运行eclipse时,我的蓝色堆栈也在运行,并使用端口5554.所以,现在关闭了这个问题。
Thanks to Rohan Kandwal. It is true. While i'm running eclipse, my blue stack is running too and used port 5554. So, this question now closed.
相关问答
您可以将它放在系统的任何位置,只需将路径指定为命令行的一部分即可: C:\android-sdk\platform-tools> adb -s emulator-5554 install C:\Users\Me\Desktop\myapp.apk
或者,转到您的APK所在的目录中,然后运行您的命令: C:\> cd %USERPROFILE%\Desktop
C:\Users\Me\Desktop> adb -s emulator-5554 install myapp.apk
注意:上面假设你
...
它正在发生,因为这只是试图重置你的adb通过打开“DDMS”环境打开“设备”选项卡,并在该右上角有“查看菜单”点击它,你会得到一个选项称为“ 重置adb ”只要这样做,可能会有所帮助 Your Device may not have enough memory to install this .apk file. Your should Uninstall unnecessary application from settings > Manage Application > Click Unin
...
我遇到这个问题了很多次。 在每个步骤运行APK文件后,如果无法移动到下一步,请尝试以下步骤: 再次运行 (只是尝试重新运行它)。 Project-> Clean(清理项目加上依赖的任何项目)。 在包资源管理器中右键单击项目,然后关闭它。 然后关闭Eclipse。 然后重新打开两者。 与上一步相同,加上Project-> Clean。 重新启动AVD。 删除AVD。 然后进入在Android-Sdk文件夹中保存AVD的文件夹,并删除任何具有AVD名称(文件加文件夹)的内容。 您可能需要重新启动计算机
...
无论您使用的是什么(Eclipse或Android Studio),都可以将.apk文件安装到模拟器中 这是我一直在做的:(对于完整的初学者) 1-运行模拟器,等待它完全启动。 2-转到您的sdk安装文件夹,然后转到platform-tools (您应该看到一个名为adb.exe的可执行文件) 3-创建一个新文件并调用run.bat ,使用记事本编辑文件并将CMD写入并保存。 将所需的apk复制到同一个文件夹 现在打开run.bat并写入adb install "your_apk_file.apk
...
我所做的是去Android虚拟管理器(AVD)和编辑内存选项:像调整的RAM从15到30和VM堆从16到32.从那时的“模拟器:5554 diconnected!取消...”从来没有吓到我直到我关闭它。 不过,它对我有用。 What I did is go to the Android Virtual Manager (AVD) and edit Memory Options: like adjusted Ram from 15 to 30 and VM Heap from 16 to 32. S
...
你可以尝试重置adb 希望这可以帮助! you can try to reset adb hope this helps!
感谢Rohan Kandwal。 这是真的。 当我运行eclipse时,我的蓝色堆栈也在运行,并使用端口5554.所以,现在关闭了这个问题。 Thanks to Rohan Kandwal. It is true. While i'm running eclipse, my blue stack is running too and used port 5554. So, this question now closed.
你必须重置你的adb。 在Eclipse中,转到窗口...显示视图...其他... Android ...设备 我不久前遇到了这个问题,我想这就是我弄清楚的问题 You have to reset your adb. In Eclipse, go to window... show view... Other... Android... Devices I came across this problem a while back and I think this is how I figured
...
您可以通过在清单中包含类似的内容来定位较新的SDK并支持较旧的SDK:
编辑:解释... http://developer.android.com/resources/dashboard/platform-versions.html Android版本 - 代号 - API版本 Android 1.5 - 蛋糕 - 3 And
...
使用lsof查找正在访问端口的进程。 lsof -i:5554
lsof -i:5555
lsof -P 4952
如果仅处理4952访问这些端口,那么您需要检查该应用程序中是否有任何配置(4952),也许您需要进行调整。 I solved this by using "wipe user data" option everytime i start the emulator. It always works . I could not find any other promising solu
...