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

Could not determine the dependencies of task ':app:mergeDebugAssets' #86

Open
shterev-soft opened this issue Feb 4, 2022 · 1 comment

Comments

@shterev-soft
Copy link

The lib does not work on Android.
I followed the documentation and this is the error from yarn android

* What went wrong:
Could not determine the dependencies of task ':app:mergeDebugAssets'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
   > Could not find any matches for com.transistorsoft:tsbackgroundfetch:+ as no versions of com.transistorsoft:tsbackgroundfetch are available.
     Searched in the following locations:
       - file:/Users/.../.m2/repository/com/transistorsoft/tsbackgroundfetch/
       - file:/Users/.../my-app/node_modules/react-native/android/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml
       - file:/Users/.../my-app/node_modules/jsc-android/dist/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml
       - file:/Users/.../my-app/node_modules/detox/Detox-android/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml
       - https://usercentrics.jfrog.io/artifactory/usercentrics/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml
       - https://dl.google.com/dl/android/maven2/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml
       - https://jcenter.bintray.com/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml
       - https://www.jitpack.io/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml
     Required by:
         project :app > project :react-native-background-fetch

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Any ideas?

@hammerstrike331
Copy link

hammerstrike331 commented Jun 11, 2022

In my case, the version of react-native-background-fetch was the problem.
Please try below version.
npm install [email protected] --save

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