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 Problem, no file in android-folder #525

Closed
Buccaneer69 opened this issue Mar 5, 2023 · 1 comment
Closed

Build Problem, no file in android-folder #525

Buccaneer69 opened this issue Mar 5, 2023 · 1 comment

Comments

@Buccaneer69
Copy link

Build file 'D:\Projects\ProjectName\node_modules\react-native-mmkv-storage\android\build.gradle' line: 138

  • What went wrong:
    A problem occurred evaluating project ':react-native-mmkv-storage'.

Expected directory '...\node_modules\react-native-mmkv-storage\android......\node_modules\react-native\android' to contain exactly one file, however, it contains no files.

found this which might be the cause:
Starting from React Native 0.71, we're not shipping the /android folder inside the React Native NPM package
anymore due to sizing constraints on NPM. The Android artifacts are distributed via Maven Central.
You can read more about it in this RFC:
react-native-community/discussions-and-proposals#508

If you're a library author and you're manipulating the React Native .aar files, to extract headers,
extract .so files or do anything with it, you're probably doing something wrong. React Native
0.71 ships with all the necessary logic to let you consume it transparently by just using:

@mrousavy
Copy link
Owner

mrousavy commented Mar 5, 2023

:react-native-mmkv-storage

This is not my library.

Install react-native-mmkv instead, this works with RN 0.71.

@mrousavy mrousavy closed this as completed Mar 5, 2023
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

2 participants