-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
android.os.TransactionTooLargeException #15429
Comments
It is likely this point that causes the crash, so it's not really about react-native. On Android Nougat, this is one of the new behaviors https://developer.android.com/about/versions/nougat/android-7.0-changes.html#other
Also see https://stackoverflow.com/questions/39098590/android-os-transactiontoolargeexception-on-nougat |
Any ideas on what can be done about this? @hey99xx -maybe you have a suggestion? |
I agree that it is something related to Nougat, but it also means that react native is not "ready" to handle Android 7.0 properly - reason why I decided to open the issue. My best guess is that some internals on current react native version are sending large payloads across Binder, so by reporting the issue maybe some cool dev can understand and fix this issue OR provide a workaround ;) |
One thing I wanted to clarify here – according to this extremely helpful post from a Google employee, Picking your compileSdkVersion, minSdkVersion, and targetSdkVersion:
Correct me if I'm wrong, but changing If so, this probably doesn't help you that much since it's still recommended to try and update to (I ask because I'm looking to update |
Yes I've updated both EDIT: I've tried updating to 26, let's see what happens. |
@kelset For what it's worth, my company's app was getting this exception even without use of RN. So we've switched to using https://github.com/JakeWharton/DiskLruCache to save activity state wherever we needed to workaround this issue. |
This should be reopen. I'm getting this exception on Any one have find other solution or workaround? |
@dluksza this issue is quite old, and I haven't seen it since. So if you are still experiencing it please open a new issue that follows the template. |
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
react-native -v
: react-native-cli: 2.0.1, react-native: 0.46.4node -v
: v8.2.1npm -v
: v5.3.0yarn --version
: 0.27.5Then, specify:
The issue is related to Android 7.
Steps to Reproduce
Don't really know.
Expected Behavior
Not crashing.
Actual Behavior
Fabric reports that a few users, all running Android 7 devices, experience this crash (1 time each user):
And I have no clue what this issue is caused by; I think it's related to the new react-native version, since the crash is only present in the new version of our app ( the previous version was running 0.45). Another change between this version and the previous is that we upped Android's build to use
compileSdkVersion 25, buildToolsVersion '25.0.2'
.I couldn't find any report of this issue so I'm opening this issue.
Reproducible Demo
(don't know what causes the issue)
The text was updated successfully, but these errors were encountered: