HelloAndroid] 5554 emulator is disabled! Cancel launch com.example.helloandroid.HelloAndroid!

I am new to Android. Follow the instructions of HelloAndroid using Eclipse. After starting HelloAndroid, AVD "xian_avd2" dined, but stop there, there is no "Hello, Android" displayed on AVD. Similar to Waiting for HOME ('android.process.acore') to be launched ...

I do not know how to solve this, please help. thanks wang813

[2010-01-29 00:12:13 - HelloAndroid]------------------------------ [2010-01-29 00:12:13 - HelloAndroid]Android Launch! [2010-01-29 00:12:13 - HelloAndroid]adb is running normally. [2010-01-29 00:12:13 - HelloAndroid]Performing com.example.helloandroid.HelloAndroid activity launch [2010-01-29 00:12:13 - HelloAndroid]Automatic Target Mode: Preferred AVD 'xian_avd2' is not available. Launching new emulator. [2010-01-29 00:12:14 - HelloAndroid]Launching a new emulator with Virtual Device 'xian_avd2' [2010-01-29 00:12:37 - HelloAndroid]New emulator found: emulator-5554 [2010-01-29 00:12:37 - HelloAndroid]Waiting for HOME ('android.process.acore') to be launched... [2010-01-29 00:13:59 - HelloAndroid]emulator-5554 disconnected! Cancelling 'com.example.helloandroid.HelloAndroid activity launch'! 
+18
android
Jan 29 '10 at 7:13
source share
17 answers
  • Open Android Virtual Device Manager
  • select the AVD that you use for your application.
  • Click the "Start" button and wait for the appearance of a new form ("Launch Options").
  • Check the "Wipe user data" box and click the "Run" button.

That should work.

--- OR ---

  • Open Android Virtual Device Manager
  • Remove the AVD you are using for your application.
  • Create a new AVD.
  • Launch a new AVD.

This should also work.

+9
Nov 05 '12 at 21:33
source share

Try using the command emulator -avd emulator_name -wipe-data

+7
Apr 26 '10 at 12:40
source share

The problem that I discovered is that the project does not have the corresponding virtual device defined for it in the AVD manager.

So, the recommended steps in eclipse are:

  • Go to the "Project" section β†’ Properties-> Android.
  • In the right pane, see which row is marked in the target assembly of the project.
    Remember the number of the target platform that appears on the selected line.
  • Go to the Windows section β†’ AVD Manager.
  • Check the list of existing Android Android devices for a device that matches the platform level and API set for your project (see step # 2 above).
  • If there is no line containing AVD for your platform (as I suspect), add it using the "Create" button.
  • The Create New Virtual Android Device window opens. set a new device name. in the "Target" selection box, select the correct platform for your project.

Enjoy the emulator again!

+7
Dec 13 '11 at 10:51
source share

I had a similar problem - in the end, I did not expect long enough until the emulator started the OS before trying to install the application. Launch the emulator, and then wait for the main screen to appear before launching the application in Eclipse.

+5
Dec 24 '10 at 20:49
source share

Perhaps this is an AVD problem for an existing machine. Try to create a new AVD from the AVD Manager and delete the old one.

+3
Sep 21
source share

This can happen on slow computers when the emulator does not start on time. When it eventually starts, it no longer connects to ADB. The solution is to restart ADB so that it reconnects to the emulator. You can do this by doing the following at a command prompt:

 adb kill-server adb start-server 
+2
Apr 19 '12 at 11:34
source share

For me, I believe that this was due to an unexpected power failure during the operation of the emulator. If it is not closed, it meant that my session was still cached. (Sometimes I get these errors too):

 [2012-06-08 05:05:06 - Emulator] WARNING: Data partition already in use. Changes will not persist! [2012-06-08 05:05:06 - Emulator] WARNING: SD Card image already in use: C:\Users\Ben\.android\avd\Ben-Android.avd/sdcard.img [2012-06-08 05:05:06 - Emulator] WARNING: Cache partition already in use. Changes will not persist! 

If this happened to you, pull up the command line, go to your android-sdk \ tools and follow the top messages corrected: emulator -avd emulator_name -wipe-data p>

+2
Jun 08 2018-12-12T00: 00Z
source share

I solved this (Mac) by following these steps:

  • Run emulator
  • Store the emulator (no matter what the error)
  • Make sure the emulator main screen appears.
  • go to the window β†’ Show perspective β†’ DDMS β†’ In the "Devices" panel β†’ in the "Angular drop-down menu" drop-down menu β†’ Reset adb

Hope this helps

+2
Feb 05 '13 at 7:16
source share

didn’t work for me:

 ./emulator -noaudio @androidDev1 

so i used:

 ./emulator @androidDev1 

and it works great! :)

Also check out the Eclipse IDE:

 Windows->Preferences->Android->Launch->Options 

It must be empty

+1
Jan 07 2018-11-11T00:
source share

I had the same problem, I deleted my AVD and recreated it - after that I do not see such problems.

+1
Sep 03
source share

also the same problem for me ..

go to the DDMS page β†’ select "Device" β†’ "Go" to "Window" β†’ "Navigation" β†’ "Show browse menu" β†’ reset adb .. it works for me.

+1
06 Sep
source share

Disable the snapshot and do not use it. This is what solved this problem in my case

+1
Jun 14 '14 at 19:33
source share

delete avd and create another one helped me

0
Mar 12 '13 at 5:11
source share

Try again 1 time. If this happens again

Go to Project-> clean and

Right-click your project and select update.

0
Apr 19 '13 at 6:14
source share

This worked on Linux for me:

  • Launch the emulator (Wait until the emulator main screen loads)
  • Click Window> Open Perspective> DDMS
  • In the Devices panel, click the drop-down menu> Reset adb
  • Run project
0
Sep 05 '13 at 5:19
source share

It boils down to just creating an AVD with moderate settings, at least by fixing it for me. Although every time I close it, I have to create a new one. Guess just wait for the patch.

Click the Android Device Manager button on the second toolbar.

Click Create.

Set up a mid-range device, basically just select a phone model from the middle of the list, which is not a tablet. The memory should fill it on its own, and then just put as 20 MB for the SD card.

Click Start. Now AVD launches and loads the Android OS.

Then run the application on the specified device.

Once you get this problem, it seems like it will remain if you do not complete the full reinstall ... Basically, always start AVD, let it get to the Android main screen, and then run the application. Thus, Eclipse does not overload the sluggish emulator.

0
Sep 15 '13 at 18:42
source share

And I got a solution from here . This works great for me.

0
Oct. 15 '14 at 17:03
source share



All Articles