Giter Club home page Giter Club logo

Comments (8)

DYuusha avatar DYuusha commented on June 9, 2024

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.

csto avatar csto commented on June 9, 2024

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.

iyegoroff avatar iyegoroff commented on June 9, 2024

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.

csto avatar csto commented on June 9, 2024

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.

csto avatar csto commented on June 9, 2024

Also, I updated Android Studio to the newest version the day before this crash started.

from react-native-image-filter-kit.

iyegoroff avatar iyegoroff commented on June 9, 2024

@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.

iyegoroff avatar iyegoroff commented on June 9, 2024

fixed

from react-native-image-filter-kit.

 avatar commented on June 9, 2024

I have same issue here

how I can solu this

from react-native-image-filter-kit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.