Samsung / Android 8.0 Oreo update causing app(s) to crash? (Xamarin.Forms app)

Viewed 2139

Has anyone else experienced a high number of app crashes with Samsung / Android 8.0 Oreo update?

We've seen a huge spike in crashes specific to Samsung devices running Android 8.0 Oreo and after doing some Googling it seems to be a common problem (search: Samsung Oreo app crash)

crash log (not useful) enter image description here

To resolve, the user either has to restart their device, perform a soft reset or clear the cache data for the app.

Is there a way to prevent these crashes? I've thought about attempting to clear the cache pragmatically to see if that helps.

FYI - I've posted the same question on Xamarin.Forms: Xamarin.Forms Link

Any thoughts or solutions most welcome!

2 Answers

Are you using firebase library? Did you try to update to the latest version? I did it and I fixed it.

If anybody is still experiencing similar issue on European Samsung Oreo devices (SIGSEV during startup): In most cases, methods that cause crash are file/memory related, but "it's not their fault". There are issues regarding startup stability on Samsung Oreo update if you are not targeting primary ABI for device. For Xamarin, in visual studio -> Project properties -> android options ->advanced -> supported architecture and make sure arm64-v8a (primary ABI for S8, Note8 where bug occurs.) is checked. That should solve it.

Related