Why do I get a emulator-5554 disconnected message

2019-01-06 12:38发布

When I start my android emulator it takes some times then it will show the emulator-5554 disconnected message. Can anyone tell me what the problem is?

10条回答
Evening l夕情丶
2楼-- · 2019-01-06 12:53

That seems to be a problem of 1.6

Upgrade to 2.1 and it shall disappear.

查看更多
SAY GOODBYE
3楼-- · 2019-01-06 12:53

The problem as I discovered lays in the fact the the project has no appropriate Virtual Device defined for it in the AVD manager.

So the recommended steps in eclipse are:

  1. Go to "Project"-> Properties-> Android.
  2. On the right pane see what line is checked in the Project build target.
    Remember the target platform number that appears in the selected line.
  3. Go to "Windows"-> AVD Manager.
  4. Check the list of existing Android Virtual Devices for a device that matches the Platform and API level that you have set for your project (see step #2 above).
  5. If there is no line that includes an AVD for your platform (as I suspect), add it using the "New" button.
  6. A "Create New Android Virtual Device" window will be opened. set a new device name. in the "Target" selection box choose the right platform for your project.

Enjoy your emulator once again!

查看更多
\"骚年 ilove
4楼-- · 2019-01-06 12:57

Restart the emulator

Select & Right Click on Android Project
Run Configurations
Go to tab Target 
Enable option Wipe User Data on Emulator launch parameters
Run Application

If you are using other IDE, you can restart your emulator using -wipe-data flag to delete all the temporary files that the emulator created in previous runs.

查看更多
来,给爷笑一个
5楼-- · 2019-01-06 13:02

enter image description here

Goto-->Prefrencess-->Android-->DDMS--> 1.visible the checkbox Use ADBHost, 2.ADB Connection timeout to 1000000, 3.Method Profile Buffer size change from 8MB into 20MB.

This is Solution the Developer whom have the lower end machine will face this Problem. Kindly check it.

查看更多
迷人小祖宗
6楼-- · 2019-01-06 13:04

Note that to find the "reset adb" option you have to click the downward pointing arrow next to the camera on the right of the devices view. The arrow may appear greyed out like everything else on the devices toolbar. It used to take hours sometimes for a successful emulator launch because of the constant disconnects until i discovered this option and where it was buried.

查看更多
该账号已被封号
7楼-- · 2019-01-06 13:04

I've faced the same situation today: started emulator from AVD manager, and after start it appeared offline in DDMS, resetting ADB didn't help - it attempted to start several times and resulted the same way, with offline status. Another symptom was that emulator didn't react on clicking on it. After all I realized that the reason was that emulator has saved the last execution state, which possibly crashed. To fix it I unchecked the 'Launch from snapshot' option on start of emulator. And this worked for me.

查看更多
登录 后发表回答