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.

Error resolving dependencies in react native 0.20

See original GitHub issue

I’m not sure if I’m putting things in the right places but since the new releases of react native project structure and files changed a little bit and I get the following error:

A problem occurred configuring project ':app'.
> A problem occurred configuring project ':react-native-dialogs'.
   > Could not resolve all dependencies for configuration ':react-native-dialogs:_debugCompile'.
      > Could not find com.android.support:appcompat-v7:23.1.
        Searched in the following locations:
            https://jitpack.io/com/android/support/appcompat-v7/23.1/appcompat-v7-23.1.pom
            https://jitpack.io/com/android/support/appcompat-v7/23.1/appcompat-v7-23.1.jar
            file:/home/gabriel/.m2/repository/com/android/support/appcompat-v7/23.1/appcompat-v7-23.1.pom
            file:/home/gabriel/.m2/repository/com/android/support/appcompat-v7/23.1/appcompat-v7-23.1.jar
            https://jcenter.bintray.com/com/android/support/appcompat-v7/23.1/appcompat-v7-23.1.pom
            https://jcenter.bintray.com/com/android/support/appcompat-v7/23.1/appcompat-v7-23.1.jar
            file:/home/gabriel/Development/android-sdk-linux/extras/android/m2repository/com/android/support/appcompat-v7/23.1/appcompat-v7-23.1.pom
            file:/home/gabriel/Development/android-sdk-linux/extras/android/m2repository/com/android/support/appcompat-v7/23.1/appcompat-v7-23.1.jar
            file:/home/gabriel/Development/android-sdk-linux/extras/google/m2repository/com/android/support/appcompat-v7/23.1/appcompat-v7-23.1.pom
            file:/home/gabriel/Development/android-sdk-linux/extras/google/m2repository/com/android/support/appcompat-v7/23.1/appcompat-v7-23.1.jar
        Required by:
            SistarjsMobile:react-native-dialogs:unspecified



Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:11

github_iconTop GitHub Comments

1reaction
Thomas101commented, Mar 23, 2016

@Pocket-titan, as before not related to this lib, similar issue with another, but might help…

Mine was also looking on my local machine for the libs… e.g. in file:/Users/tom/Library/Android/sdk/extras/android/m2repository/com/android/support/appcompat-v7/23.1/appcompat-v7-23.1.pom

How have you set your local android path for react native? If you’ve used the bash variable so far, try creating the $project_dir/android/local.properties and adding you path into there…

sdk.dir=/Users/tom/Library/Android/sdk/
0reactions
vonovakcommented, Sep 17, 2017

closing since the issue seems to be fixed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Could not resolve dependency error peer react@"^16.8.0
this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
Read more >
Could not resolve dependency · Issue #1289 - GitHub
You have dependency conflict (incorrect and potentially broken dependency) as it says, So try to to run the command with --force, or --legacy- ......
Read more >
How to Fix npm ERR ERESOLVE Unable to Resolve ...
How to Fix npm ERR ERESOLVE Unable to Resolve Dependency Tree React Error in Visual Studio Code ; https://www.facebook.com/GameTrick1/ Twitter: ...
Read more >
Build failing that did work? - Netlify Support Forums
I went back to make a small CSS change and am now getting a build error. ... peer dependency 1:08:46 PM: npm WARN...
Read more >
eresolve unable to resolve dependency tree jwt-decode and ...
I try install the npm dependency but occurs an error. ** Command. npm i react-native-pure-jwt. ** Error reported npm ERR! code ERESOLVE npm...
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