-
Notifications
You must be signed in to change notification settings - Fork 523
react-native-sqlite-storage installation issue in android #384
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
Comments
Same here. Hope it will fix soon :) |
+1 also have the same issue with same environment setup. |
+1 I have the same issue. |
+1 i have the same issue as well |
+1 i have the same issue as well.
|
the solution provided by @svsShiva works for me: change following path in settings.gradle to Thanks. :) |
I've finally tried this ans or works for me ! |
+1 for changing the path as suggested by @svsShiva. Thanks ❤️ |
you can see the examples shared below. These are very easy and simple posts for the CRUD operations: |
Current Behavior
Running application in android (react-native run-android) gives following error
> Could not resolve project :react-native-sqlite-storage.
Required by:
project :app
> Unable to find a matching configuration of project :react-native-sqlite-storage:
- None of the consumable configurations have attributes.
Possible Solution
change following path in settings.gradle
from
project(':react-native-sqlite-storage').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-sqlite-storage/src/android')
to
project(':react-native-sqlite-storage').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-sqlite-storage/platforms/android')
Steps to Reproduce (for bugs)
Installation in android as per docs
Your Environment
The text was updated successfully, but these errors were encountered: