Skip to main content
added 101 characters in body
Source Link

TryI was trying to start service from terminal and i got similar output. In my case i just added qoutation marks and that helped.

su -c 'am startservice -n "com.example.app/.YourService"'

Don't forget to add quotation markssu -c 'am startservice -n "com.example.app/.YourSe-rvice" -e "extra' "value"'

Try

su -c 'am startservice -n "com.example.app/.YourService"'

Don't forget to add quotation marks.

I was trying to start service from terminal and i got similar output. In my case i just added qoutation marks and that helped.

su -c 'am startservice -n "com.example.app/.YourSe-rvice" -e "extra' "value"'

added 7 characters in body
Source Link
eldarerathis
  • 36.8k
  • 16
  • 145
  • 176

Try

su -c 'am startservice -n "com.example.app/.YourService"'

su -c 'am startservice -n "com.example.app/.YourService"'

Don't forget to add quotation marks.

Try

su -c 'am startservice -n "com.example.app/.YourService"'

Don't forget to add quotation marks.

Try

su -c 'am startservice -n "com.example.app/.YourService"'

Don't forget to add quotation marks.

deleted 32 characters in body; added 37 characters in body
Source Link

Try

su -c 'am startservice -n "com.example.app/.YourService"'

--user 0 didn't work in my case Don't forget to add quotation marks.

Try

su -c 'am startservice "com.example.app/.YourService"'

--user 0 didn't work in my case

Try

su -c 'am startservice -n "com.example.app/.YourService"'

Don't forget to add quotation marks.

Source Link
Loading