Android in Eclipse LogCat ServiceManager tag with text Waiting for Service SurfaceFlinger continues loop

I am new to android development. I am just trying to create a button on an emulator using the youtube tutorial with Log.d

commend. This way I see my logarithm and find something cyclical forever.

  • Level = I
  • PID = 1706
  • TID = 1720
  • Application = system_process
  • Tag = ServiceManager
  • Text = Waiting for SurfaceSlinger service ...

with the following

  • Level = I
  • PID = 579
  • TID = 579
  • Application = (empty)
  • Tag = PGA
  • Text = trying to create a new connection SOCKET pid = 579, tid = 579

and after about 5 cycles the cycle repeats with red text color

  • Level = E
  • PID = 6157
  • TID = 6157
  • Application = (empty)
  • Tag = qemu
  • Text = setting qemu log file name to / storage / sdcard / arm -logs / arm-runtime.1 og prop_val = 'crash'

Either with the emulator running or with it, this log always came out. Can someone help me how to fix this?

Sorry for my bad english. Thanks you

+3


source to share


1 answer


I had the same problem because I was running in the background with an android emulator outside of eclipse, in my case there was a bluestacks emulator, when I stopped it, LogCat stopped printing this loop message.

You have to use this command in adb command line, to use adb command line, navigate to this path in console; it's in the windows.

C:\Users\YourUser\AppData\Local\Android\sdk\platform-tools

      

And when you are in that folder, use this command adb devices

, this command should print the devices you have.

After that use this command with the port number of the emulator you want to stop adb -s emulator-5554 emu kill

, in my case it was 5554.



In my case, if you also have bluestacks to stop the bluestack emulator in windows automatically, I followed the steps below.

Go to msconfig, in msconfig go to the services tab, uncheck the bluestacks android service and the bluestacks log rotation service, then go to the startup tab and uncheck the autostarts, then restart your computer.

This link is worth reading about how to stop emulators: https://devmaze.wordpress.com/2011/12/12/starting-and-stopping-android-emulators/

And this link on how to stop bluestack emulator in more detail: http://www.oaultimate.com/computers/computer-slow-boot-and-disable-bluestacks-startup.html

+1


source







All Articles