Error resolving dependencies in react native 0.20
See original GitHub issueI’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:
- Created 8 years ago
- Comments:11
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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…closing since the issue seems to be fixed.