Hacker News new | past | comments | ask | show | jobs | submit login

Been seeing a few app crashes on the Android 11 betas. Hopefully they've been addressing API bustage. Unfortunately the Android bug tracker seems to be a black hole for reports.



Here's the dirty little secret of app crashes on Android: many of these apps use some pretty horrid drm code that will only run on known versions of Android. So every new version of Android, you get a crash because it doesn't recognize the new version until the drm is updated.

If this is a game that's crashing on start-up, I would guess 90% of the time the app is the problem.


These are normal apps, unfortunately, crashing at or near startup. I believe that Google made some changes to JNI in Android 11 and most of the crashes are in native code.


I have never seen anything but a native crash for drm code issues. I would be willing to bet some type of drm is still the problem here.


Unfortunately based on some quick analysis it looks like there _was_ a change in JNI - previously JNI method handles were pointer-like and now they are opaque integers. Definitely not DRM in this case.

Apps crash in the default mode. Hacking the device so that SetJniType is called with kPointer makes it all work.

https://android.googlesource.com/platform/art/+/master/runti...




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: