Home > Mobile >  The Android Service and small BroadCast program why no log output in the new time?
The Android Service and small BroadCast program why no log output in the new time?

Time:10-08

For chestnut: according to the first line of code to write very simple Android Service start small procedures, download the log with ADB grab after the phone did not log on open Service, I just want to have a look at the open what will print out a after Service system, but can not see ah ~ ~ ~ ~, print log Service is not related, the relevant aspects of the great god, please help me, about the Service related system log TAG is what? I searched some ActivityManangerService all have no,,,,

CodePudding user response:

Service is another process, not the master, the need to choose in the Logcat view the Service process

CodePudding user response:

reference 1st floor Han Shuliang response:
Service is another process, is not the main process, need to choose the Service process in the Logcat view

Ok I try, I find some predecessors answer because I use real machine debug log has been rewritten the framework layer, and then open the normal log will not print it out

CodePudding user response:

You must first understand the life cycle
  • Related