Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
Finnish the answer
Source Link
Marc
  • 1.2k
  • 1
  • 18
  • 32

Im not sure if my problem is the exact same problem as this one. I started getting crash reports on google play just like this. For example

android.app.RemoteServiceException: at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1881) at android.os.Handler.dispatchMessage (Handler.java:105) at android.os.Looper.loop (Looper.java:164) at android.app.ActivityThread.main (ActivityThread.java:6938) at java.lang.reflect.Method.invoke (Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:327) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1374) 

I started seeing this around build 189 and did not see this error before 185

So this github checkin still did not have it

And this github checkin had the bug for sure

I was did make some changes related to a foreground service so I am suspecting my issue relates to

enter link description hereIssue Tracker: Context.startForegroundService() did not then call Service.startForeground

Context.startForegroundService() did not then call Service.startForeground()

(Note: This answer is a work---- EDIT ----

My issue did turn out to be that I was calling startForegroundService which was not needed because my app was not in progress more onthe background when it did this soon).

For sure the issue has been resolved by this commit

Im not sure if my problem is the exact same problem as this one. I started getting crash reports on google play just like this. For example

android.app.RemoteServiceException: at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1881) at android.os.Handler.dispatchMessage (Handler.java:105) at android.os.Looper.loop (Looper.java:164) at android.app.ActivityThread.main (ActivityThread.java:6938) at java.lang.reflect.Method.invoke (Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:327) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1374) 

I started seeing this around build 189 and did not see this error before 185

So this github checkin still did not have it

And this github checkin had the bug for sure

I was did make some changes related to a foreground service so I am suspecting my issue relates to

enter link description here

Context.startForegroundService() did not then call Service.startForeground()

(Note: This answer is a work in progress more on this soon)

Im not sure if my problem is the exact same problem as this one. I started getting crash reports on google play just like this. For example

android.app.RemoteServiceException: at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1881) at android.os.Handler.dispatchMessage (Handler.java:105) at android.os.Looper.loop (Looper.java:164) at android.app.ActivityThread.main (ActivityThread.java:6938) at java.lang.reflect.Method.invoke (Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:327) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1374) 

I started seeing this around build 189 and did not see this error before 185

So this github checkin still did not have it

And this github checkin had the bug for sure

I was did make some changes related to a foreground service so I am suspecting my issue relates to

Issue Tracker: Context.startForegroundService() did not then call Service.startForeground

Context.startForegroundService() did not then call Service.startForeground()

---- EDIT ----

My issue did turn out to be that I was calling startForegroundService which was not needed because my app was not in the background when it did this.

For sure the issue has been resolved by this commit

added 411 characters in body
Source Link
Marc
  • 1.2k
  • 1
  • 18
  • 32

Im not sure if my problem is the exact same problem as this one. I started getting crash reports on google play just like this. For example

android.app.RemoteServiceException: at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1881) at android.os.Handler.dispatchMessage (Handler.java:105) at android.os.Looper.loop (Looper.java:164) at android.app.ActivityThread.main (ActivityThread.java:6938) at java.lang.reflect.Method.invoke (Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:327) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1374) 

I started seeing this around build 189 and did not see this error before 185 So

So this github checkin still did not have it And

And this github checkin had the bug for sure
 

I was did make some changes related to a foreground service so I am suspecting my issue relates to

enter link description here

Context.startForegroundService() did not then call Service.startForeground()

(Note: This answer is a work in progress more on this soon)

Im not sure if my problem is the exact same problem as this one. I started getting crash reports on google play just like this. For example

android.app.RemoteServiceException: at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1881) at android.os.Handler.dispatchMessage (Handler.java:105) at android.os.Looper.loop (Looper.java:164) at android.app.ActivityThread.main (ActivityThread.java:6938) at java.lang.reflect.Method.invoke (Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:327) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1374) 

I started seeing this around build 189 and did not see this error before 185 So this github checkin still did not have it And this github checkin had the bug for sure
 (Note: This answer is a work in progress more on this soon)

Im not sure if my problem is the exact same problem as this one. I started getting crash reports on google play just like this. For example

android.app.RemoteServiceException: at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1881) at android.os.Handler.dispatchMessage (Handler.java:105) at android.os.Looper.loop (Looper.java:164) at android.app.ActivityThread.main (ActivityThread.java:6938) at java.lang.reflect.Method.invoke (Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:327) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1374) 

I started seeing this around build 189 and did not see this error before 185

So this github checkin still did not have it

And this github checkin had the bug for sure

I was did make some changes related to a foreground service so I am suspecting my issue relates to

enter link description here

Context.startForegroundService() did not then call Service.startForeground()

(Note: This answer is a work in progress more on this soon)

Source Link
Marc
  • 1.2k
  • 1
  • 18
  • 32

Im not sure if my problem is the exact same problem as this one. I started getting crash reports on google play just like this. For example

android.app.RemoteServiceException: at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1881) at android.os.Handler.dispatchMessage (Handler.java:105) at android.os.Looper.loop (Looper.java:164) at android.app.ActivityThread.main (ActivityThread.java:6938) at java.lang.reflect.Method.invoke (Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:327) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1374) 

I started seeing this around build 189 and did not see this error before 185 So this github checkin still did not have it And this github checkin had the bug for sure
(Note: This answer is a work in progress more on this soon)