Error in Android simulator (emulator-5554…) solution

An error occurred in the Android emulator. Solution:

1.Unable to get view server version from device

When writing the Android application under exlipse, right-click the item run as Android application to pop up a dialog box saying that there is a problem. Click Details to say that the null pointer is abnormal. Open DDMS mode,

It prompts unable to get view server version from device emulator-5554. At this time, my android emulator is running.

Solution: delete the. Metadata folder in the workspace

The following are the detailed steps:

(1) : open the eclipse workspace (displayed in your eclipse menu windows - > Preferences - > General startup and shutdown - > workspaces) (2): close eclipse and delete the. Metadata folder in the workspace opened above (3): Click gotoworkspaces (the right arrow at the back) It is found that there are no items in eclipsse (4): (import items) click the import button in the file menu to open the dialog box, select existing practice into workspace in general, and then click next

On the right side of the first line, select browse, select the location of the workspace (the folder where the folder was just deleted), and click Finish to complete the import of the project (do not select Copy project into workspace)

Note: when I handle this place, I find many errors when I import the project again. Later, I close it and reopen the software. I don't know why (according to the above statement, it's not the import project, it's the import of. Metadata. I don't know whether it's true)?

2.Failed to install helloworld.apk on device 'emulator-5554': timeout

By querying foreign technology websites, we found a way.

window----preferences----android----ddms----ADB connection time out(ms)

The default value is 5000, which can be changed to 10000.

Thank you for reading, hope to help you, thank you for your support to this site!

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>