Recently I have been getting this crash report in play console.."Exception java.lang.RuntimeException:" the reason it says is
"Your app or a library it uses tried to start a foreground service without declaring a service type
Recommendation
Declare the foreground service type in the manifest file and include it in the startForeground() call
But I don't have any code in my starter service..I am using scaleimageview, admob etc as libraries...so could it be due to any of these libraries or is there any way to check which lib is causing the issue that starts the foreground service..please help...below is my starter service code
"Your app or a library it uses tried to start a foreground service without declaring a service type
Recommendation
Declare the foreground service type in the manifest file and include it in the startForeground() call
But I don't have any code in my starter service..I am using scaleimageview, admob etc as libraries...so could it be due to any of these libraries or is there any way to check which lib is causing the issue that starts the foreground service..please help...below is my starter service code
Strater service code:
#Region Service Attributes
#StartAtBoot: False
#ExcludeFromLibrary: True
#End Region
Sub Process_Globals
End Sub
Sub Service_Create
End Sub
Sub Service_Start (StartingIntent As Intent)
End Sub
Sub Service_TaskRemoved
'This event will be raised when the user removes the app from the recent apps list.
End Sub
'Return true to allow the OS default exceptions handler to handle the uncaught exception.
Sub Application_Error (Error As Exception, StackTrace As String) As Boolean
Return True
End Sub
Sub Service_Destroy
End Sub