-
-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
android #145
Comments
hey @wq13718048209. I have faced the same issue while updating rn-mmkv to |
@kanzitelli thank you so much I'll give it a try |
@wq13718048209 is this working? I see same issue on my appcenter builds and did not find solution yet. @mrousavy maybe we can move our twitter discussion here :) |
@Jalson1982 I'm sorry it didn't work |
I am also getting this error. Is there a fix yet? |
A clean and rebuild usually fixes this issue for me 🤔
|
I have the same error only on AppCenter CI. It works fine on local machine [Updated] I reproduced the issue locally. Build fails only with command which uses on CI side and it seems that in Gradle version: 4.2.2 @mrousavy Do you have any ideas why it happens? |
+1 |
Actually it works great with react-native 0.66 in real project.
|
The problem was resolved in the 1.3.3. Can be closed. The new issue relates with incompatibility with old RN versions. The new issue here |
find and replace the code below in the file android/CMakeLists.txt will work
|
save my day!!!! thx🙏🙏 |
That'd be introducing other bugs since the C++ symbols are duplicated. I'm looking into finding a real fix soon |
Sorry, what's the solution here? I'm encountering this in react native 0.69.6, fresh node_modules install. Adding |
Hi Julian, how did you add these? I am also facing the same problem. |
This fixed my issue. |
React-native 0.65.1 React-native MMKV :1.3.1
Failed to build on Android
C/C++: /Users/wangqiang/ttvc/TTvc/node_modules/react-native-mmkv/android/CMakeLists.txt debug|armeabi-v7a : CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
REACT_NATIVE_JNI_LIB
linked by target "reactnativemmkv" in directory /Users/wangqiang/ttvc/TTvc/node_modules/react-native-mmkv/android
The text was updated successfully, but these errors were encountered: