Open zabojad opened 5 years ago
@crazycodeboy any updates on this ? getting the same error. please help
This error crashes my app when built for release, I have no issues when debugging. Does anyone have any clues? I really need this fixed ASAP.
In my case i have commented this code ndk { abiFilters "armeabi-v7a", "x86" }
add these ndk filter and if you have commented or removed
React Native on Android doesn't provide a 64-bit version of the libreactnativejni.so native library, which can cause compatibility issues on 64-bit devices. I ran into this while attempting to integrate React Native with a large existing application I'm developing.
+1
@baldursson Hi, were you able to resolve this issue? My app is crashing on release build like yours.
@SkyTreasure Somehow I did, but I sadly can't remember how. Looking through my commit history at the time, I can't see any updates to the actual project that might have fixed it, to I guess it had something to do with external factors. Sometimes simply deleting and re-installing node_modules fixes the weirdest problems.
Adding ndk
node solve the crash on release. But if want to build split APKs another issue will come, conflicting configuration: ndk abiFilters cannot be present when splits abi filters are set
, and wont build. This is portion of my app/build.gradle
:
defaultConfig {
...
ndk {
abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64'
}
...
}
splits {
abi {
reset()
enable true
universalApk true
include 'armeabi-v7a','arm64-v8a','x86','x86_64'
}
}
Any idea on how to fix this? @bandhiwal @baldursson
same here.
put android:largeHeap="true"
this in your android manifest file
i solved window leak issue using this
This lib is generating the following errors in logcat:
However, the splashscreen shows up correctly and everything seems to work fine. Any idea why does this get logged?
My env: