Skip to content
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

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

Open
briantes opened this issue Feb 6, 2024 · 0 comments
Open

Comments

@briantes
Copy link

briantes commented Feb 6, 2024

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:

  • React Native Version [e.g. 0.73]
  • Library Version [latest]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant