gorhom / react-native-bottom-sheet

A performant interactive bottom sheet with fully configurable options 🚀
https://gorhom.dev/react-native-bottom-sheet/
MIT License
6.98k stars 765 forks source link

[v4] App crash after lib installing #604

Closed RomanSuvorov closed 3 years ago

RomanSuvorov commented 3 years ago

Bug

I followed your instructions entirely, but I was unable to run the application with your package. When I run the code, I get an error: TypeError: Object.values requires that input parameter not be null or undefined

Environment info

Library Version
@gorhom/bottom-sheet ^4.0.0-alpha.30
react-native 0.63.3
react-native-reanimated ^2.0.0
react-native-gesture-handler ~1.10.2

Steps To Reproduce

  1. Follow instructions from https://gorhom.github.io/react-native-bottom-sheet/
  2. Copy the component below
  3. Run the code

Describe what you expected to happen:

  1. Able to show the bottom sheet

Reproducible sample code

import React, { useMemo, useRef } from 'react'; import { Text, View, StyleSheet } from 'react-native'; import BottomSheet from '@gorhom/bottom-sheet';

export function WalletScreen() {
  const bottomSheetRef = useRef(null);
  const snapPoints = useMemo(() => ['25%', '50%'], []);

  return (
    <View style={styles.container}>
      <BottomSheet
        ref={bottomSheetRef}
        index={1}
        snapPoints={snapPoints}
      >
        <View style={styles.contentContainer}>
          <Text>Test Screen</Text>
        </View>
      </BottomSheet>
    </View>
  );
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
  },
  contentContainer: {
    flex: 1,
    alignItems: 'center',
  },
});
gorhom commented 3 years ago

@RomanSuvorov any error message ?

RomanSuvorov commented 3 years ago

@RomanSuvorov any error message ?

Sorry, I forgot to insert this error. Could you check this issue now?

gorhom commented 3 years ago

looking into it

harshal2030 commented 3 years ago

My app also crashed after installing and I got this log in logcat

2021-08-26 00:51:01.648 841-841/com.hcodes.easyteach I/HermesVM: JSI rethrowing JS exception: Cannot delete property 'callback' of undefined

    TypeError: Cannot delete property 'callback' of undefined
        at decorateAnimation (JavaScript:1:276)
        at decorateAnimation (native)
        at _f (JavaScript:1:243)
        at defineAnimation (JavaScript:1:760)
        at defineAnimation (native)
        at withTiming (JavaScript:1:120)
        at withTiming (native)
        at _f (JavaScript:1:494)
        at _f (native)
        at _f (JavaScript:1:177)
        at _f (native)
        at styleUpdater (JavaScript:1:260)
        at styleUpdater (native)
        at _f (JavaScript:1:139)
        at _f (native)
2021-08-26 00:51:01.675 841-841/com.hcodes.easyteach A/libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 841 (codes.easyteach), pid 841 (codes.easyteach)
gorhom commented 3 years ago

could clear you metro cache, delete node-modules and try again ? it is working on my side

harshal2030 commented 3 years ago

okk let me try

harshal2030 commented 3 years ago

now app crashed with different log

2021-08-26 01:03:32.093 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570] JNI DETECTED ERROR IN APPLICATION: JNI GetObjectRefType called with pending exception java.lang.RuntimeException: Tried to synchronously call function {assign} from a different thread.
2021-08-26 01:03:32.093 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570] 
2021-08-26 01:03:32.093 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570] Occurred in worklet location: C:\Users\Harshal\Desktop\EasyTeach\node_modules\react-native-reanimated\src\reanimated2\Hooks.ts (225:0)
2021-08-26 01:03:32.093 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570] 
2021-08-26 01:03:32.093 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570] Possible solutions are:
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570] a) If you want to synchronously execute this method, mark it as a Worklet
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570] b) If you want to execute this method on the JS thread, wrap it using runOnJS 
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570]   at void com.swmansion.reanimated.AndroidErrorHandler.raise(java.lang.String) (AndroidErrorHandler.java:6)
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570]   at void com.swmansion.reanimated.Scheduler.triggerUI() (Scheduler.java:-2)
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570]   at void com.swmansion.reanimated.Scheduler.access$100(com.swmansion.reanimated.Scheduler) (Scheduler.java:9)
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570]   at void com.swmansion.reanimated.Scheduler$1.run() (Scheduler.java:21)
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570]   at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:883)
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570]   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:100)
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570]   at void com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(android.os.Message) (MessageQueueThreadHandler.java:27)
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570]   at void android.os.Looper.loop() (Looper.java:214)
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570]   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:7356)
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570]   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570]   at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:492)
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570]   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:930)
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570] 
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570]     in call to GetObjectRefType
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570]     from void com.swmansion.reanimated.Scheduler.triggerUI()
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348] No pending exception expected: java.lang.RuntimeException: Tried to synchronously call function {assign} from a different thread.
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348] 
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348] Occurred in worklet location: C:\Users\Harshal\Desktop\EasyTeach\node_modules\react-native-reanimated\src\reanimated2\Hooks.ts (225:0)
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348] 
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348] Possible solutions are:
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348] a) If you want to synchronously execute this method, mark it as a Worklet
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348] b) If you want to execute this method on the JS thread, wrap it using runOnJS 
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348]   at void com.swmansion.reanimated.AndroidErrorHandler.raise(java.lang.String) (AndroidErrorHandler.java:6)
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348]   at void com.swmansion.reanimated.Scheduler.triggerUI() (Scheduler.java:-2)
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348]   at void com.swmansion.reanimated.Scheduler.access$100(com.swmansion.reanimated.Scheduler) (Scheduler.java:9)
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348]   at void com.swmansion.reanimated.Scheduler$1.run() (Scheduler.java:21)
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348]   at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:883)
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348]   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:100)
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348]   at void com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(android.os.Message) (MessageQueueThreadHandler.java:27)
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348]   at void android.os.Looper.loop() (Looper.java:214)
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348]   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:7356)
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348]   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348]   at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:492)
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348]   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:930)
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348] 
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] Runtime aborting --- recursively, so no thread-specific detail!
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #00 pc 00493b43  /apex/com.android.runtime/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool)+115)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #01 pc 0056521a  /apex/com.android.runtime/lib/libart.so (art::Runtime::Abort(char const*)+2794)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #02 pc 000249b3  /apex/com.android.runtime/lib/libartbase.so (_ZNSt3__110__function6__funcIPFvPKcENS_9allocatorIS5_EES4_EclEOS3_+35)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #03 pc 0000bac7  /system/lib/libbase.so (android::base::LogMessage::~LogMessage()+727)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #04 pc 005b81fa  /apex/com.android.runtime/lib/libart.so (art::Thread::AssertNoPendingException() const+1226)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #05 pc 001704fc  /apex/com.android.runtime/lib/libart.so (art::ClassLinker::FindClass(art::Thread*, char const*, art::Handle<art::mirror::ClassLoader>)+60)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #06 pc 0015992b  /apex/com.android.runtime/lib/libart.so (art::ClassLinker::DoResolveType(art::dex::TypeIndex, art::Handle<art::mirror::DexCache>, art::Handle<art::mirror::ClassLoader>)+187)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #07 pc 005e889f  /apex/com.android.runtime/lib/libart.so (_ZN3art8verifier4impl12_GLOBAL__N_114MethodVerifierILb0EE6VerifyEv$09bf97eb2c0d684adb6d215f7005036e+1823)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #08 pc 005ecde8  /apex/com.android.runtime/lib/libart.so (art::verifier::MethodVerifier::FindLocksAtDexPc(art::ArtMethod*, unsigned int, std::__1::vector<art::verifier::MethodVerifier::DexLockInfo, std::__1::allocator<art::verifier::MethodVerifier::DexLockInfo>>*, unsigned int)+872)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #09 pc 00490cb2  /apex/com.android.runtime/lib/libart.so (art::Monitor::VisitLocks(art::StackVisitor*, void (*)(art::ObjPtr<art::mirror::Object>, void*), void*, bool)+818)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #10 pc 00491f89  /apex/com.android.runtime/lib/libart.so (art::MonitorObjectsStackVisitor::VisitFrame()+281)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #11 pc 0058c8f8  /apex/com.android.runtime/lib/libart.so (_ZN3art12StackVisitor9WalkStackILNS0_16CountTransitionsE0EEEvb+2008)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #12 pc 005b6bfe  /apex/com.android.runtime/lib/libart.so (art::Thread::DumpJavaStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool, bool) const+1022)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #13 pc 005b1fe9  /apex/com.android.runtime/lib/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool, BacktraceMap*, bool) const+1017)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #14 pc 005ace61  /apex/com.android.runtime/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool, BacktraceMap*, bool) const+65)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #15 pc 005d2cd1  /apex/com.android.runtime/lib/libart.so (art::DumpCheckpoint::Run(art::Thread*)+929)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #16 pc 005cb034  /apex/com.android.runtime/lib/libart.so (art::ThreadList::RunCheckpoint(art::Closure*, art::Closure*)+1556)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #17 pc 005c9e6c  /apex/com.android.runtime/lib/libart.so (art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool)+2268)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #18 pc 005796f0  /apex/com.android.runtime/lib/libart.so (art::AbortState::DumpAllThreads(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, art::Thread*) const+448)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #19 pc 00564d30  /apex/com.android.runtime/lib/libart.so (art::Runtime::Abort(char const*)+1536)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #20 pc 000249b3  /apex/com.android.runtime/lib/libartbase.so (_ZNSt3__110__function6__funcIPFvPKcENS_9allocatorIS5_EES4_EclEOS3_+35)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #21 pc 0000bac7  /system/lib/libbase.so (android::base::LogMessage::~LogMessage()+727)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #22 pc 003e539d  /apex/com.android.runtime/lib/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+1725)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #23 pc 003e55a4  /apex/com.android.runtime/lib/libart.so (art::JavaVMExt::JniAbortV(char const*, char const*, char*)+116)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #24 pc 003d6b45  /apex/com.android.runtime/lib/libart.so (art::(anonymous namespace)::ScopedCheck::AbortF(char const*, ...)+69)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #25 pc 003d558e  /apex/com.android.runtime/lib/libart.so (art::(anonymous namespace)::ScopedCheck::CheckPossibleHeapValue(art::ScopedObjectAccess&, char, art::(anonymous namespace)::JniValueType)+1294)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #26 pc 003d4729  /apex/com.android.runtime/lib/libart.so (art::(anonymous namespace)::ScopedCheck::Check(art::ScopedObjectAccess&, bool, char const*, art::(anonymous namespace)::JniValueType*)+745)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #27 pc 003d3d56  /apex/com.android.runtime/lib/libart.so (art::(anonymous namespace)::CheckJNI::GetObjectRefType(_JNIEnv*, _jobject*)+886)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #28 pc 0004c886  /data/app/com.hcodes.easyteach-H2XjkqHgLwXWJ4JV9dbBcg==/lib/x86/libfbjni.so (facebook::jni::isObjectRefType(_jobject*, jobjectRefType)+86)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #29 pc 0011c188  /data/app/com.hcodes.easyteach-H2XjkqHgLwXWJ4JV9dbBcg==/lib/x86/libreanimated.so (facebook::jni::LocalReferenceAllocator::verifyReference(_jobject*) const+56)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #30 pc 0011c214  /data/app/com.hcodes.easyteach-H2XjkqHgLwXWJ4JV9dbBcg==/lib/x86/libreanimated.so (facebook::jni::LocalReferenceAllocator::deleteReference(_jobject*) const+100)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #31 pc 0011c117  /data/app/com.hcodes.easyteach-H2XjkqHgLwXWJ4JV9dbBcg==/lib/x86/libreanimated.so (facebook::jni::base_owned_ref<facebook::jni::JString, facebook::jni::LocalReferenceAllocator>::reset(_jstring*)+183)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #32 pc 0011c043  /data/app/com.hcodes.easyteach-H2XjkqHgLwXWJ4JV9dbBcg==/lib/x86/libreanimated.so (facebook::jni::base_owned_ref<facebook::jni::JString, facebook::jni::LocalReferenceAllocator>::reset()+51)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] 
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638] No pending exception expected: java.lang.RuntimeException: Tried to synchronously call function {assign} from a different thread.
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638] 
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638] Occurred in worklet location: C:\Users\Harshal\Desktop\EasyTeach\node_modules\react-native-reanimated\src\reanimated2\Hooks.ts (225:0)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638] 
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638] Possible solutions are:
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638] a) If you want to synchronously execute this method, mark it as a Worklet
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638] b) If you want to execute this method on the JS thread, wrap it using runOnJS 
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638]   at void com.swmansion.reanimated.AndroidErrorHandler.raise(java.lang.String) (AndroidErrorHandler.java:6)
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638]   at void com.swmansion.reanimated.Scheduler.triggerUI() (Scheduler.java:-2)
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638]   at void com.swmansion.reanimated.Scheduler.access$100(com.swmansion.reanimated.Scheduler) (Scheduler.java:9)
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638]   at void com.swmansion.reanimated.Scheduler$1.run() (Scheduler.java:21)
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638]   at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:883)
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638]   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:100)
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638]   at void com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(android.os.Message) (MessageQueueThreadHandler.java:27)
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638]   at void android.os.Looper.loop() (Looper.java:214)
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638]   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:7356)
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638]   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638]   at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:492)
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638]   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:930)
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638] 
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 1509 (codes.easyteach), pid 1509 (codes.easyteach)
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638] 
RomanSuvorov commented 3 years ago

@gorhom It helped me. Thank you very much!

RomanSuvorov commented 3 years ago

now app crashed with different log

2021-08-26 01:03:32.093 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570] JNI DETECTED ERROR IN APPLICATION: JNI GetObjectRefType called with pending exception java.lang.RuntimeException: Tried to synchronously call function {assign} from a different thread.
2021-08-26 01:03:32.093 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570] 
2021-08-26 01:03:32.093 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570] Occurred in worklet location: C:\Users\Harshal\Desktop\EasyTeach\node_modules\react-native-reanimated\src\reanimated2\Hooks.ts (225:0)
2021-08-26 01:03:32.093 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570] 
2021-08-26 01:03:32.093 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570] Possible solutions are:
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570] a) If you want to synchronously execute this method, mark it as a Worklet
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570] b) If you want to execute this method on the JS thread, wrap it using runOnJS 
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570]   at void com.swmansion.reanimated.AndroidErrorHandler.raise(java.lang.String) (AndroidErrorHandler.java:6)
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570]   at void com.swmansion.reanimated.Scheduler.triggerUI() (Scheduler.java:-2)
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570]   at void com.swmansion.reanimated.Scheduler.access$100(com.swmansion.reanimated.Scheduler) (Scheduler.java:9)
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570]   at void com.swmansion.reanimated.Scheduler$1.run() (Scheduler.java:21)
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570]   at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:883)
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570]   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:100)
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570]   at void com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(android.os.Message) (MessageQueueThreadHandler.java:27)
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570]   at void android.os.Looper.loop() (Looper.java:214)
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570]   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:7356)
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570]   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570]   at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:492)
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570]   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:930)
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570] 
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570]     in call to GetObjectRefType
2021-08-26 01:03:32.094 1509-1509/com.hcodes.easyteach A/codes.easyteac: java_vm_ext.cc:570]     from void com.swmansion.reanimated.Scheduler.triggerUI()
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348] No pending exception expected: java.lang.RuntimeException: Tried to synchronously call function {assign} from a different thread.
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348] 
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348] Occurred in worklet location: C:\Users\Harshal\Desktop\EasyTeach\node_modules\react-native-reanimated\src\reanimated2\Hooks.ts (225:0)
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348] 
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348] Possible solutions are:
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348] a) If you want to synchronously execute this method, mark it as a Worklet
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348] b) If you want to execute this method on the JS thread, wrap it using runOnJS 
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348]   at void com.swmansion.reanimated.AndroidErrorHandler.raise(java.lang.String) (AndroidErrorHandler.java:6)
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348]   at void com.swmansion.reanimated.Scheduler.triggerUI() (Scheduler.java:-2)
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348]   at void com.swmansion.reanimated.Scheduler.access$100(com.swmansion.reanimated.Scheduler) (Scheduler.java:9)
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348]   at void com.swmansion.reanimated.Scheduler$1.run() (Scheduler.java:21)
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348]   at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:883)
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348]   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:100)
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348]   at void com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(android.os.Message) (MessageQueueThreadHandler.java:27)
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348]   at void android.os.Looper.loop() (Looper.java:214)
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348]   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:7356)
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348]   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348]   at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:492)
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348]   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:930)
2021-08-26 01:03:32.141 1509-1509/com.hcodes.easyteach A/codes.easyteac: thread.cc:2348] 
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] Runtime aborting --- recursively, so no thread-specific detail!
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #00 pc 00493b43  /apex/com.android.runtime/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool)+115)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #01 pc 0056521a  /apex/com.android.runtime/lib/libart.so (art::Runtime::Abort(char const*)+2794)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #02 pc 000249b3  /apex/com.android.runtime/lib/libartbase.so (_ZNSt3__110__function6__funcIPFvPKcENS_9allocatorIS5_EES4_EclEOS3_+35)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #03 pc 0000bac7  /system/lib/libbase.so (android::base::LogMessage::~LogMessage()+727)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #04 pc 005b81fa  /apex/com.android.runtime/lib/libart.so (art::Thread::AssertNoPendingException() const+1226)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #05 pc 001704fc  /apex/com.android.runtime/lib/libart.so (art::ClassLinker::FindClass(art::Thread*, char const*, art::Handle<art::mirror::ClassLoader>)+60)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #06 pc 0015992b  /apex/com.android.runtime/lib/libart.so (art::ClassLinker::DoResolveType(art::dex::TypeIndex, art::Handle<art::mirror::DexCache>, art::Handle<art::mirror::ClassLoader>)+187)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #07 pc 005e889f  /apex/com.android.runtime/lib/libart.so (_ZN3art8verifier4impl12_GLOBAL__N_114MethodVerifierILb0EE6VerifyEv$09bf97eb2c0d684adb6d215f7005036e+1823)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #08 pc 005ecde8  /apex/com.android.runtime/lib/libart.so (art::verifier::MethodVerifier::FindLocksAtDexPc(art::ArtMethod*, unsigned int, std::__1::vector<art::verifier::MethodVerifier::DexLockInfo, std::__1::allocator<art::verifier::MethodVerifier::DexLockInfo>>*, unsigned int)+872)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #09 pc 00490cb2  /apex/com.android.runtime/lib/libart.so (art::Monitor::VisitLocks(art::StackVisitor*, void (*)(art::ObjPtr<art::mirror::Object>, void*), void*, bool)+818)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #10 pc 00491f89  /apex/com.android.runtime/lib/libart.so (art::MonitorObjectsStackVisitor::VisitFrame()+281)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #11 pc 0058c8f8  /apex/com.android.runtime/lib/libart.so (_ZN3art12StackVisitor9WalkStackILNS0_16CountTransitionsE0EEEvb+2008)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #12 pc 005b6bfe  /apex/com.android.runtime/lib/libart.so (art::Thread::DumpJavaStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool, bool) const+1022)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #13 pc 005b1fe9  /apex/com.android.runtime/lib/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool, BacktraceMap*, bool) const+1017)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #14 pc 005ace61  /apex/com.android.runtime/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool, BacktraceMap*, bool) const+65)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #15 pc 005d2cd1  /apex/com.android.runtime/lib/libart.so (art::DumpCheckpoint::Run(art::Thread*)+929)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #16 pc 005cb034  /apex/com.android.runtime/lib/libart.so (art::ThreadList::RunCheckpoint(art::Closure*, art::Closure*)+1556)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #17 pc 005c9e6c  /apex/com.android.runtime/lib/libart.so (art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool)+2268)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #18 pc 005796f0  /apex/com.android.runtime/lib/libart.so (art::AbortState::DumpAllThreads(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, art::Thread*) const+448)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #19 pc 00564d30  /apex/com.android.runtime/lib/libart.so (art::Runtime::Abort(char const*)+1536)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #20 pc 000249b3  /apex/com.android.runtime/lib/libartbase.so (_ZNSt3__110__function6__funcIPFvPKcENS_9allocatorIS5_EES4_EclEOS3_+35)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #21 pc 0000bac7  /system/lib/libbase.so (android::base::LogMessage::~LogMessage()+727)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #22 pc 003e539d  /apex/com.android.runtime/lib/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+1725)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #23 pc 003e55a4  /apex/com.android.runtime/lib/libart.so (art::JavaVMExt::JniAbortV(char const*, char const*, char*)+116)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #24 pc 003d6b45  /apex/com.android.runtime/lib/libart.so (art::(anonymous namespace)::ScopedCheck::AbortF(char const*, ...)+69)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #25 pc 003d558e  /apex/com.android.runtime/lib/libart.so (art::(anonymous namespace)::ScopedCheck::CheckPossibleHeapValue(art::ScopedObjectAccess&, char, art::(anonymous namespace)::JniValueType)+1294)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #26 pc 003d4729  /apex/com.android.runtime/lib/libart.so (art::(anonymous namespace)::ScopedCheck::Check(art::ScopedObjectAccess&, bool, char const*, art::(anonymous namespace)::JniValueType*)+745)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #27 pc 003d3d56  /apex/com.android.runtime/lib/libart.so (art::(anonymous namespace)::CheckJNI::GetObjectRefType(_JNIEnv*, _jobject*)+886)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #28 pc 0004c886  /data/app/com.hcodes.easyteach-H2XjkqHgLwXWJ4JV9dbBcg==/lib/x86/libfbjni.so (facebook::jni::isObjectRefType(_jobject*, jobjectRefType)+86)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #29 pc 0011c188  /data/app/com.hcodes.easyteach-H2XjkqHgLwXWJ4JV9dbBcg==/lib/x86/libreanimated.so (facebook::jni::LocalReferenceAllocator::verifyReference(_jobject*) const+56)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #30 pc 0011c214  /data/app/com.hcodes.easyteach-H2XjkqHgLwXWJ4JV9dbBcg==/lib/x86/libreanimated.so (facebook::jni::LocalReferenceAllocator::deleteReference(_jobject*) const+100)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #31 pc 0011c117  /data/app/com.hcodes.easyteach-H2XjkqHgLwXWJ4JV9dbBcg==/lib/x86/libreanimated.so (facebook::jni::base_owned_ref<facebook::jni::JString, facebook::jni::LocalReferenceAllocator>::reset(_jstring*)+183)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] #32 pc 0011c043  /data/app/com.hcodes.easyteach-H2XjkqHgLwXWJ4JV9dbBcg==/lib/x86/libreanimated.so (facebook::jni::base_owned_ref<facebook::jni::JString, facebook::jni::LocalReferenceAllocator>::reset()+51)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:630] 
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638] No pending exception expected: java.lang.RuntimeException: Tried to synchronously call function {assign} from a different thread.
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638] 
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638] Occurred in worklet location: C:\Users\Harshal\Desktop\EasyTeach\node_modules\react-native-reanimated\src\reanimated2\Hooks.ts (225:0)
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638] 
2021-08-26 01:03:32.156 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638] Possible solutions are:
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638] a) If you want to synchronously execute this method, mark it as a Worklet
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638] b) If you want to execute this method on the JS thread, wrap it using runOnJS 
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638]   at void com.swmansion.reanimated.AndroidErrorHandler.raise(java.lang.String) (AndroidErrorHandler.java:6)
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638]   at void com.swmansion.reanimated.Scheduler.triggerUI() (Scheduler.java:-2)
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638]   at void com.swmansion.reanimated.Scheduler.access$100(com.swmansion.reanimated.Scheduler) (Scheduler.java:9)
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638]   at void com.swmansion.reanimated.Scheduler$1.run() (Scheduler.java:21)
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638]   at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:883)
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638]   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:100)
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638]   at void com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(android.os.Message) (MessageQueueThreadHandler.java:27)
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638]   at void android.os.Looper.loop() (Looper.java:214)
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638]   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:7356)
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638]   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638]   at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:492)
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638]   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:930)
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638] 
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 1509 (codes.easyteach), pid 1509 (codes.easyteach)
2021-08-26 01:03:32.157 1509-1509/com.hcodes.easyteach A/codes.easyteac: runtime.cc:638] 

It seems that the reason for the error is different for us.

harshal2030 commented 3 years ago

maybe

gorhom commented 3 years ago

@harshal2030 try to reinstall Reanimated and follow their installations