Post by newuser on May 20, 2020 8:56:55 GMT
I just upgraded to Rhodes 7.2 and was testing the build.
It works on older Android versions fine but on Android 10 I'm not able to open as it crashes. See info below:
I saw on GitHub another issue raised about Foreground Service (https://github.com/rhomobile/rhodes/issues/1029), is this related?
Can I fix this myself or do I need to wait for an update to Rhodes?
Thanks.
It works on older Android versions fine but on Android 10 I'm not able to open as it crashes. See info below:
java.lang.RuntimeException:
at android.app.ActivityThread.handleCreateService (ActivityThread.java:4082)
at android.app.ActivityThread.access$1800 (ActivityThread.java:231)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1968)
at android.os.Handler.dispatchMessage (Handler.java:107)
at android.os.Looper.loop (Looper.java:214)
at android.app.ActivityThread.main (ActivityThread.java:7682)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:516)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:950)
Caused by: java.lang.SecurityException:
at android.os.Parcel.createException (Parcel.java:2071)
at android.os.Parcel.readException (Parcel.java:2039)
at android.os.Parcel.readException (Parcel.java:1987)
at android.app.IActivityManager$Stub$Proxy.setServiceForeground (IActivityManager.java:6238)
at android.app.Service.startForeground (Service.java:707)
at com.rhomobile.rhodes.RhodesService.innerStartForeground (RhodesService.java:388)
at com.rhomobile.rhodes.RhodesService.onCreate (RhodesService.java:399)
at android.app.ActivityThread.handleCreateService (ActivityThread.java:4070)
I saw on GitHub another issue raised about Foreground Service (https://github.com/rhomobile/rhodes/issues/1029), is this related?
Can I fix this myself or do I need to wait for an update to Rhodes?
Thanks.