Open node_modules / react-native / third- party / glog-0.3.4 / src / config.h file
or local search PC_FROM_UCONTEXT defined directly in the project.
Will be here
/* How to access the PC from a struct ucontext */ #define PC_FROM_UCONTEXT uc_mcontext->__ss.__rip
Replace with:
/* How to access the PC from a struct ucontext */ #if defined(__arm__) || defined(__arm64__) #define PC_FROM_UCONTEXT uc_mcontext->__ss.__pc #else #define PC_FROM_UCONTEXT uc_mcontext->__ss.__rip #endif