ammarahm-ed / react-native-mmkv-storage

An ultra fast (0.0002s read/write), small & encrypted mobile key-value storage framework for React Native written in C++ using JSI
https://rnmmkv.now.sh
MIT License
1.56k stars 109 forks source link

Build failed react-native 0.73 mmkv-storage android contains no files #345

Open briantes opened 6 months ago

briantes commented 6 months ago

When I run npx react-native run-android It throws the next error:

A problem occurred evaluating project ':[react-native-mmkv-storage]'.
Expected directory '...\node_modules\react-native-mmkv-storage\android' to contain exactly one file, however, it contains no files.

The error is on line 138 of the build.gradle file: def rnAAR = fileTree("$reactNative").matching({ it.include rnAarMatcher }).singleFile

I have upgraded all modules with yarn upgrade and I'm using the latest react-native version. I have tried to create a fresh new project, add all my sources, and then run yarn install to install all required modules, but with the same result.

Platform Information:

fordat commented 5 days ago

same issue for me