mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-01-12 22:50:10 +08:00
Summary: Research into this error led us to this: https://issuetracker.google.com/issues/67102093 which refers to a very similar stack trace as our error: * Both errors have a bad access in `android.text.DynamicLayout.getBlockIndex` due to a negative array index * The report mentions it only affecting Oreo devices, this aligns with our [LogView](https://our.intern.facebook.com/intern/logview/details/facebook_android_crashes/80ce327664e6696ef03f951a9268ac29/?trace_key=cc916846a500b6efb5c68ae1a2e6b5c3) where ~99% of affected device os versions are Oreo. As a workaround mentioned in discussion, this diff turns off hardware acceleration for Oreo devices in `ReactEditText` Reviewed By: mdvacca Differential Revision: D14291369 fbshipit-source-id: 797d3123bcb240abd2401ca0d7d3a5a3ef8e22e3
Building React Native for Android
See the docs on the website.
Running tests
When you submit a pull request CircleCI will automatically run all tests. To run tests locally, see Testing.