itinance / itinance/react-native-fs

Could not resolve project :react-native-fs.

Open
#1,144 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
5k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

Hello,

I am on Windows 10

Steps to reproduce:

- `npx react-native init AwesomeProject`

- All the steps from [here](https://github.com/itinance/react-native-fs) in the "Usage (Android)" section, (1st step is to modify
_android/settings.gradle_ file etc.)
- `cd AwesomeProject`
- `npx react-native start`
- `npx react-native run-android`

Error log:

```
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings
5 actionable tasks: 5 up-to-date

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
> Could not resolve project :react-native-fs.
Required by:
project :app
> No matching configuration of project :react-native-fs was found. The consumer was configured to find an API of a component, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '7.2.1' but:
- None of the consumable configurations have attributes.
```

Any idea ?

Thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.