kike-canaries / canairio_android

Android app of CanAirIO project. This is configuration manager, geo-location tagging and front end of CanAirIO firmware via Bluetooth LE.
https://canair.io
GNU General Public License v3.0
16 stars 10 forks source link

RecordTrackReceiver.java line 23 issue on Android 12 #153

Closed hpsaturn closed 1 year ago

hpsaturn commented 2 years ago

Overview

Firebase report issue:

android.app.ForegroundServiceStartNotAllowedException$1.createFromParcel (ForegroundServiceStartNotAllowedException.java:54)
android.app.ForegroundServiceStartNotAllowedException$1.createFromParcel (ForegroundServiceStartNotAllowedException.java:50)
android.os.Parcel.readParcelable (Parcel.java:3347)
android.os.Parcel.createExceptionOrNull (Parcel.java:2434)
android.os.Parcel.createException (Parcel.java:2423)
android.os.Parcel.readException (Parcel.java:2406)
android.os.Parcel.readException (Parcel.java:2348)
android.app.IActivityManager$Stub$Proxy.startService (IActivityManager.java:6822)
android.app.ContextImpl.startServiceCommon (ContextImpl.java:1876)
android.app.ContextImpl.startForegroundService (ContextImpl.java:1847)
android.content.ContextWrapper.startForegroundService (ContextWrapper.java:781)
android.content.ContextWrapper.startForegroundService (ContextWrapper.java:781)
androidx.core.content.ContextCompat$Api26Impl.startForegroundService (ContextCompat.java:1091)
androidx.core.content.ContextCompat.startForegroundService (ContextCompat.java:749)
hpsaturn.pollutionreporter.service.RecordTrackReceiver.onReceive (RecordTrackReceiver.java:23)
android.app.ActivityThread.handleReceiver (ActivityThread.java:4628)
android.app.ActivityThread.access$1900 (ActivityThread.java:284)
android.app.ActivityThread$H.handleMessage (ActivityThread.java:2295)
android.os.Handler.dispatchMessage (Handler.java:106)
android.os.Looper.loopOnce (Looper.java:233)
android.os.Looper.loop (Looper.java:334)
android.app.ActivityThread.main (ActivityThread.java:8396)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:582)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1068)