Comments (8)
i have the same problem, the thing is, that i don't know how to get the crashes error, because i can't initialize the debug in my phone, i am using android.
from react-native-image-filter-kit.
Same problem here. I created a new react native app and ran npm i react-native-image-filter-kit
then react-native link react-native-image-filter-kit
. I then set the minSdkVersion to 17. The new app will crash on opening. If I unlink this package, the app no longer crashes. Any ideas?
from react-native-image-filter-kit.
Please specify your react-native, react-native-image-filter-kit and gradle versions and provide a crashlog or reproducible example.
from react-native-image-filter-kit.
You can view my test app at: https://github.com/csto/ImageKitDemo
[email protected]
[email protected]
gradle version is 3.4.0
I also tried older versions of all 3 without any luck.
It have confirmed that this runs fine on a Samsung Galaxy S5 (Android 6.0.1), but crashes on startup on a Samsung Galaxy S8 (Android 9) or Google Pixel XL (Android 8.1.0).
It crashes 100% of the time before startup on the Pixel XL and S8, so there are no logs from Metro or running react-native log-android.
Running adb libcat *:E
against the Pixel XL I got:
06-14 10:36:59.405 1830 1833 E ANDR-PERF-OPTSHANDLER: Warning: Resource [2, 0] not supported for core 1. Instead use resource for core 0
06-14 10:36:59.405 1830 1833 E ANDR-PERF-RESOURCEQS: Failed to apply optimization [2, 2, 0]
06-14 10:36:59.450 882 2124 E ActivityManager: applyOptionsLocked: Unknown animationType=0
06-14 10:36:59.833 22968 22989 E SoLoader: Error when loading lib: dlopen failed: "/data/data/com.imagekitdemo/lib-main/libc++_shared.so" is 64-bit instead of 32-bit lib hash: 7ccd91485c9bd99f2c675e417db127e3 search path is /data/app/com.imagekitdemo-ESpuf5I_qrZ3FWtJV_Xjig==/lib/arm
06-14 10:36:59.834 22968 22989 E SoLoader: couldn't find DSO to load: libc++_shared.so caused by: dlopen failed: "/data/data/com.imagekitdemo/lib-main/libc++_shared.so" is 64-bit instead of 32-bit
06-14 10:36:59.834 22968 22989 E SoLoader: couldn't find DSO to load: libfb.so caused by: couldn't find DSO to load: libc++_shared.so caused by: dlopen failed: "/data/data/com.imagekitdemo/lib-main/libc++_shared.so" is 64-bit instead of 32-bit
06-14 10:36:59.834 22968 22989 E SoLoader: couldn't find DSO to load: libreactnativejni.so caused by: couldn't find DSO to load: libfb.so caused by: couldn't find DSO to load: libc++_shared.so caused by: dlopen failed: "/data/data/com.imagekitdemo/lib-main/libc++_shared.so" is 64-bit instead of 32-bit
06-14 10:36:59.836 22968 22989 E AndroidRuntime: FATAL EXCEPTION: create_react_context
06-14 10:36:59.836 22968 22989 E AndroidRuntime: Process: com.imagekitdemo, PID: 22968
06-14 10:36:59.836 22968 22989 E AndroidRuntime: java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libreactnativejni.so caused by: couldn't find DSO to load: libfb.so caused by: couldn't find DSO to load: libc++_shared.so caused by: dlopen failed: "/data/data/com.imagekitdemo/lib-main/libc++_shared.so" is 64-bit instead of 32-bit
06-14 10:36:59.836 22968 22989 E AndroidRuntime: at com.facebook.soloader.SoLoader.doLoadLibraryBySoName(SoLoader.java:738)
06-14 10:36:59.836 22968 22989 E AndroidRuntime: at com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:591)
06-14 10:36:59.836 22968 22989 E AndroidRuntime: at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:529)
06-14 10:36:59.836 22968 22989 E AndroidRuntime: at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:484)
06-14 10:36:59.836 22968 22989 E AndroidRuntime: at com.facebook.react.bridge.ReactBridge.staticInit(ReactBridge.java:31)
06-14 10:36:59.836 22968 22989 E AndroidRuntime: at com.facebook.react.bridge.NativeMap.<clinit>(NativeMap.java:19)
06-14 10:36:59.836 22968 22989 E AndroidRuntime: at com.facebook.react.jscexecutor.JSCExecutorFactory.create(JSCExecutorFactory.java:25)
06-14 10:36:59.836 22968 22989 E AndroidRuntime: at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:944)
06-14 10:36:59.836 22968 22989 E AndroidRuntime: at java.lang.Thread.run(Thread.java:764)
from react-native-image-filter-kit.
Also, I updated Android Studio to the newest version the day before this crash started.
from react-native-image-filter-kit.
@csto, I can't reproduce this crash, probably it is somehow related only to 64-bit devices. Maybe you can find some workarounds here - facebook/react-native#2814
from react-native-image-filter-kit.
fixed
from react-native-image-filter-kit.
I have same issue here
how I can solu this
from react-native-image-filter-kit.
Related Issues (20)
- [IOS]Crash when app backgrounded HOT 5
- Error: Invariant failed: ImageFilterKit: 'Ashby' filter doesn't exist on android HOT 1
- Deprecated RenderScript HOT 1
- How to send file path in grayscale extraction without using Image tag HOT 1
- Does this library supports react-native-fast-image and other views for src and dst? HOT 2
- Support for 0.66 (Bare react app)
- Package causes app to crash on iOS 15
- How to apply filter to ONLY non transparent part of the image HOT 1
- OutOfMemory // App crashes on IOS when the filterComponent is rendered HOT 3
- TypeError: Cannot read property 'clean' of null HOT 1
- Library doesn't build on `arm64` with `buildToolsVersion` > 33 (RN 0.71) HOT 2
- Portrait images that are chosen from the library show as landscape after being saved. iOS only
- Is this library working at all anymore? HOT 3
- ERROR TypeError: null is not an object (evaluating 'IFKExtractedImagesCache.clean') HOT 5
- Issue with managed work flow on Expo HOT 2
- Apply filters without component wrapping? HOT 1
- Execution failed for task ':react-native-image-filter-kit:compileDebugJavaWithJavac'. HOT 9
- are there known issues with xcode emulators? HOT 2
- Extracting images with cssgram filters + color matrix filters
- RenderScript APIs are deprecated starting in Android 12 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-image-filter-kit.