Bug 42207 - Run the command adb shell service list on Terminal unable to find the DemoService after clicking on start service.
Summary: Run the command adb shell service list on Terminal unable to find the DemoSer...
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 6.1.0 (C7)
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Jonathan Pryor
Depends on:
Reported: 2016-06-28 13:50 UTC by Abhishek
Modified: 2017-06-30 12:45 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Abhishek 2016-06-28 13:50:41 UTC
Steps To Reproduce:
1. Open DemoService sample on XS.
2. Run the application on device.
3. Click on Start service button.
4. Service will be started.

Actual Result: Run the command adb shell service list on Terminal. Unable to find the DemoService.

Expected Result: It should show the DemoService in the list of adb shell service list.

Terminal Output: https://gist.github.com/Abhishekk360/3b0f3a494b3eb9b35e3699fc57ea9068
Ide Log: https://gist.github.com/Abhishekk360/2b6d16784558a68ca17c3a697822e741
android Tool Log: https://gist.github.com/Abhishekk360/137178602e35ab1a108422d4f767a0e7
adb logcat: https://gist.github.com/Abhishekk360/12fb0b8c4c68def004624f14e03cccf8

Environment Info:

=== Xamarin Studio Enterprise ===

Version 6.0.1 (build 9)
Installation UUID: 93e693b0-b53d-40f4-b29c-b61ff5cbe892
	Mono 4.4.0 (mono-4.4.0-branch-c7sr0/587a89e) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 404000189

=== Xamarin.Profiler ===

Not Installed

=== Apple Developer Tools ===

Xcode 7.2 (9548)
Build 7C68

=== Xamarin.iOS ===

Version: (Xamarin Enterprise)
Hash: 3cf8aae
Branch: c7sr0
Build date: 2016-06-20 16:09:58-0400

=== Xamarin.Android ===

Version: (Xamarin Enterprise)
Android SDK: /Users/xamarin23/Desktop/android-sdk-macosx
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
		5.1    (API level 22)
		6.0    (API level 23)

SDK Tools Version: 25.1.7
SDK Platform Tools Version: 23.1
SDK Build Tools Version: 23.0.3

Java SDK: /usr
java version "1.8.0_73"
Java(TM) SE Runtime Environment (build 1.8.0_73-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.73-b02, mixed mode)

Android Designer EPL code available here:

=== Xamarin Android Player ===

Version: 0.6.1
Location: /Applications/Xamarin Android Player.app

=== Xamarin.Mac ===

Version: (Xamarin Enterprise)

=== Build Information ===

Release ID: 600010009
Git revision: e879ce52093257c5c386ad7e390dfaa937fa7f90
Build date: 2016-06-24 11:53:43-04
Xamarin addins: a9252e6df4851fbbed1f9c6228e7b6dd1b475ac5
Build lane: monodevelop-lion-cycle7-sr0

=== Operating System ===

Mac OS X 10.10.5
Darwin 800BC.local 14.5.0 Darwin Kernel Version 14.5.0
    Wed Jul 29 02:26:53 PDT 2015
    root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64

=== Enabled user installed addins ===

Gist Ide Information 1.0.2
NuGet Package Management Extensions 0.11
Comment 1 John Miller [MSFT] 2017-06-30 12:45:31 UTC
Thanks for taking the time to report this! It seems that `adb shell services list` only reports system services and not services created by applications. To get information about a user service, try `adb shell dumpsys activity services DemoService`.