• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps emulator-5554 disconnected

I'm new in android .
i create a project but when i run it ,follow message was shown.
emulator-5554 disconnected
for solving this issue i did
1-reset adb in running time
2-enable wipe user data
3-set Device Ram Size to 512
but it doesn't work
i don't know what i do!!
(also i use ubuntu11.10):confused:
 
Are you seeing any relevant errors in the LogCat view?

Do you see the AVD start at all?

If not, can you manually start an AVD?

If you can, can you see the manually started AVD in the Devices view of the DDMS perspective?
 
thanks, jiminaus
I can see LogCat view,It's empty.
I think ,the AVD start,
I attached picture of the Console Window.it shows events next Run
Project Name: Pn
Activity Name: Pnk.android.pn.PnActivity
AVD name:avd1

 

Attachments

  • Console.png
    Console.png
    46.8 KB · Views: 225
thanks, jiminaus
I can see LogCat view,It's empty.
I think ,the AVD start,
I attached picture of the Console Window.it shows events next Run
Project Name: Pn
Activity Name: Pnk.android.pn.PnActivity
AVD name:avd1


It looks like avd1 is starting, but then dying or is being closed before android fully boots.

Try going into the AVD Manager. Delete avd1. Create a new avd. Choose a target and small SD Card size, but don't change anything else. Then start the new AVD from within AVD Manager. Does Android boot?
 
I installed following items
1.eclipse 3.7.0
2.ADT-15.0.1
3.SDK tools 15
also I created avd3 with 50M SD card size
but the Console shows emulator-5554 disconnected! ...
i don't know where is mistake!!
I attached picture of Android SDK manager
 

Attachments

Let's see if you can do a series of test to try to isolate the issue.

I took a screenshot of my avd3 setup. Try and create this same setup.

Then start avd3 via the AVD manager. Don't run your program. Wait for avd3 to boot fully. If avd3 doesn't boot, then there's something wrong with your setup at any of the levels of Linux, SDK or AVD.

If avd3 boots, open a terminal (aka shell, console or command prompt) and try this command.
Code:
telnet 127.0.0.1 5554
This should connect you to avd3. You should get output like this.
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Android Console: type 'help' for a list of commands
OK

If you cannot connect to avd3, then I would think you have a firewall blocking access.

If you can connect, just issue the quit command to disconnect.

Go into Eclipse, go into the DDMS perspective. In the Devices view, go into the view menu and choose Reset ADB. You should then see avd3 (as emulator-5554) in the devices tree. If you don't, there's something wrong with your ADB.

In the Emulator Control view, enter a phone number and click call. This is will simulate an incoming call from that number on avd3. You should see the incoming call on the avd3. If you don't there's something wrong with your ADT plugin.
 

Attachments

thanks for your reply jiminaus :)
I did
series of test that you told me and It seems there is something wrong in my ADB. (or ADT)
Result of tests are: (I enclosed their pictures)
1.avd3 booted
2.telnet connected to the emulator
3.I didn't see avd3 in the Device tree next resting adb
4.the Emulator Control couldn't connect to emulator
now,what is wrong in my Adb
(or ADT)?!




 

Attachments

Back
Top Bottom