You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reanct-native-mmkv version 2.5.1
react-native 0.70.4 (recently upgraded from 0.68.3)
Debug version of the app works fine with run-android works fine.
But when I build the app from flavor for Android, for example production version or even debug versob, the app crashes on startup with the following logs:
E/ReactNativeJS: Error: Failed to create a new MMKV instance, the native initializer function does not exist. Is the native MMKV library correctly installed? Make sure to disable any remote debugger (e.g. Chrome) to use JSI!, js engine: hermes
E/ReactNativeJS: TypeError: Cannot read property 'store' of undefined
This error is located at:
in n
in RCTView
in Unknown
in RCTView
in Unknown
in b, js engine: hermes
E/ReactNativeJS: TypeError: Cannot read property 'store' of undefined
This error is located at:
in n
in RCTView
in Unknown
in RCTView
in Unknown
in b, js engine: hermes
E/unknown:ReactNative: Exception in native call
com.facebook.react.common.JavascriptException: Error: Failed to create a new MMKV instance, the native initializer function does not exist. Is the native MMKV library correctly installed? Make sure to disable any remote debugger (e.g. Chrome) to use JSI!, js engine: hermes, stack:
u@48:1364
anonymous@1585:105
h@2:1585
d@2:1028
o@2:496
anonymous@1584:189
h@2:1585
d@2:1028
o@2:496
anonymous@1570:318
h@2:1585
d@2:958
o@2:496
n@422:256
yr@83:42093
ql@83:90924
Fa@83:81696
Ua@83:81598
La@83:81363
Ea@83:78326
ft@83:26123
_a@83:75415
li@83:89662
anonymous@83:96412
anonymous@367:646
run@364:683
runApplication@364:1797
value@63:3556
anonymous@63:673
value@63:2503
value@63:645
at com.facebook.react.modules.core.ExceptionsManagerModule.reportException(ExceptionsManagerModule.java:72)
at java.lang.reflect.Method.invoke(Native Method)
at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372)
at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:188)
at com.facebook.jni.NativeRunnable.run(Native Method)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
at android.os.Looper.loop(Looper.java:236)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:228)
at java.lang.Thread.run(Thread.java:923)
E/unknown:ReactNative: TypeError: Cannot read property 'store' of undefined
This error is located at:
in n
in RCTView
in Unknown
in RCTView
in Unknown
in b, js engine: hermes, stack:
n@422:262
yr@83:42093
ql@83:90924
Fa@83:81696
Ua@83:81598
La@83:81363
Ea@83:78326
ft@83:26123
_a@83:75415
li@83:89662
anonymous@83:96412
anonymous@367:646
run@364:683
runApplication@364:1797
value@63:3556
anonymous@63:673
value@63:2503
value@63:645
E/unknown:ReactNative: Exception in native call
com.facebook.react.common.JavascriptException: TypeError: Cannot read property 'store' of undefined
This error is located at:
in n
in RCTView
in Unknown
in RCTView
in Unknown
in b, js engine: hermes, stack:
n@422:262
yr@83:42093
ql@83:90924
Fa@83:81696
Ua@83:81598
La@83:81363
Ea@83:78326
ft@83:26123
_a@83:75415
li@83:89662
anonymous@83:96412
anonymous@367:646
run@364:683
runApplication@364:1797
value@63:3556
anonymous@63:673
value@63:2503
value@63:645
at com.facebook.react.modules.core.ExceptionsManagerModule.reportException(ExceptionsManagerModule.java:72)
at java.lang.reflect.Method.invoke(Native Method)
at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372)
at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:188)
at com.facebook.jni.NativeRunnable.run(Native Method)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
at android.os.Looper.loop(Looper.java:236)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:228)
at java.lang.Thread.run(Thread.java:923)
The text was updated successfully, but these errors were encountered:
I've tried to manually generate the bundle file, like it's described in this issue related to similar RN upgrade: facebook/react-native#34606 (comment)
reanct-native-mmkv version 2.5.1
react-native 0.70.4 (recently upgraded from 0.68.3)
Debug version of the app works fine with
run-android
works fine.But when I build the app from flavor for Android, for example production version or even debug versob, the app crashes on startup with the following logs:
The text was updated successfully, but these errors were encountered: