Closed truongnm97 closed 2 weeks ago
Guten Tag, Hans here 🍻
It looks like you are facing a build issue with react-native-mmkv
, but ze provided information is not quite enough to pinpoint ze problem. Please make sure to provide detailed logs and any additional context that could help mrousavy to diagnose ze issue.
Also, don’t forget to check ze documentation – it’s very helpful! If you find this repository useful, consider supporting it by sponsoring it here. This helps ze project remain maintained in mrousavy's free time!
Note: If you think I made a mistake, please ping
@mrousavy
to take a look.
This is a duplicate of
They were all visible in the issues page, please don't spam issues or create duplicates. We already have enough of them.
I am working on a fix and will release it soon - in the meantime you can sponsor me on GitHub to buy me a coffee or say "thanks". 😃❤️
released in react-native-mmkv 3.0.2 :rocket:
I still have the same issue even with react-native-mmkv 3.0.2 I'm using expo 51 and react-native 0.74.5
Yes even I'm facing the same issue, the issue has not solved the problem even after updating to the specified version 3.0.2
same error react-native 0.74.5
I am facing the same issue with expo@~51.0.31
, react-native@0.75.2
and react-native-mmkv@^3.0.2
.
I fixed it using the expo-build-properties
. the issue is react-native-mmkv
required new architecture. so just enable it and it will work fine.
Install expo-build-properties
npx expo install expo-build-properties
Enable new architecture by adding this to your app.json
{
"expo": {
"plugins": [
[
"expo-build-properties",
{
"ios": {
"newArchEnabled": true
},
"android": {
"newArchEnabled": true
}
}
]
]
}
}
npx expo prebuild --clean
npx expo run:android
I've got this build issue with Android on
3.0.0
and3.0.1
Env:
package.json
:Build Log: