Closed RomanSoviak closed 1 year ago
This doesn't seem related to the LCP library.
You could try replacing the startService
with startForegroundService
, but see our related discussion on this PR.
@qnga Maybe we'll need to revisit the use of startService
for the new MediaService
.
@mickael-menu I will close this issue, cause the problem was that I shouldn't use prod lcp lib in the test app, cause this lib should be used only in our app with a certain bundle id, but it would be great if developers got the error message about that. I added lcp test lib and everything works fine, thanks
That doesn't make any sense to me, but maybe there's a race condition:
startService()
is reached before the app is killed.
I launched test-app on Samsung m31(Android 12) via Android Studio. Everything was good, but after I added prod lcp library readium:liblcp:2.0.0@aar for testing opening prod lcpl files, (this library we obtained from Edrlab a long time ago) the app crashed on start with this stacktrace:
The crash happened in startService() method