eclipse 运行不了android 5554,始终显示Eclipse Android Emulator-5554(Eclipse Android Emulator-5554 is always d...

用户在Eclipse IDE中运行Android应用时,发现设备选择器始终显示未启动的emulator-5554。问题源于BlueStacks等其他应用占用了端口5554。解决方案是关闭占用端口的应用或重置ADB。用户通过关闭BlueStacks解决了此问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

始终显示Eclipse Android Emulator-5554(Eclipse Android Emulator-5554 is always displayed)

我开始在Eclipse IDE中编写一个android应用程序。

但是当我运行应用程序(ctrl + f11)时,android设备选择器在线显示emulator-5554状态,即使我还没有启动任何模拟器。

a9d033e49c7ab82fca12b9e0c02c87e4.png

我的问题是:这个模拟器从哪里来? 出于什么原因?

当我的模拟器启动时,我的android设备选择器:

RE7Z7.png

有没有人遇到这个问题并向我解释? 谢谢。

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.

a9d033e49c7ab82fca12b9e0c02c87e4.png

My question is: where does this emulator come from? and for what reason?

My android device chooser when my emulator started:

RE7Z7.png

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

...

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值