question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.

See original GitHub issue
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details

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-fetch-blob.
     Required by:
         project :app
      > Unable to find a matching configuration of project :react-native-fetch-blob: None of the consumable configurations have attributes.

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

* Get more help at https://help.gradle.org

BUILD FAILED in 7s
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/getting-started.html

rn info:

❯ rn info
Scanning folders for symlinks in /Users/jschoolcraft/code/clients/skillscout/SkillScoutApp/node_modules (18ms)

Environment:
  OS:  macOS High Sierra 10.13.6
  Node:  10.6.0
  Yarn:  1.7.0
  npm:  6.1.0
  Watchman:  4.9.0
  Xcode:  Xcode 9.4.1 Build version 9F2000
  Android Studio:  3.1 AI-173.4819257

Packages: (wanted => installed)
  react: 16.3.1 => 16.3.1
  react-native: 0.55.3 => 0.55.3

rn-fetch-blob:

❯ ag blob yarn.lock
4448:rn-fetch-blob@^0.10.11:
4450:  resolved "https://registry.yarnpkg.com/rn-fetch-blob/-/rn-fetch-blob-0.10.11.tgz#5c55c90c59eb7d064770416a980eedecc909594d"

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7

github_iconTop GitHub Comments

2reactions
Usamashahid76commented, Nov 9, 2018

use this first yarn remove react-native-fetch-blob Remove compile(‘react-native-fetch-blob’) from build.gradle from android folder

1reaction
Traviskncommented, Jul 27, 2018

It looks like your project still has some references to the old package name react-native-fetch-blob, it should be rn-fetch-blob.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Could not determine the dependencies of task - Stack Overflow
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. It started when I added below dependency in Gradle:
Read more >
Could not determine the dependencies of task ':app ... - GitHub
What went wrong: Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. > Could not resolve all task dependencies ...
Read more >
Could not determine the dependencies ... - DEV Community ‍ ‍
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. In the build.gradle file (app level), Upgrade one signal ...
Read more >
could not determine the dependencies of task ':app ... - You.com
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. Failed to find Platform SDK with path: platforms;android-31. Open side panel.
Read more >
Error : Could Not Determine the Dependencies Of Task "app ...
99K subscribers in the reactnative community. A community for learning and developing native mobile applications using React Native by ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found