Could not resolve com.facebook.react:react-native:0.19.+.
See original GitHub issueim having this problem after upgrading from 0.17 to 0.19 when i run “react-native run-android” command:
Starting JS server...
Starting the packager in a new window is not supported on Windows yet.
Please start it manually using 'react-native start'.
We believe the best Windows support will come from a community of people
using React Native on Windows on a daily basis.
Would you be up for sending a pull request?
Building and installing the app on the device (cd android && gradlew.bat install
Debug)...
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugCompile'.
> Could not resolve com.facebook.react:react-native:0.19.+.
Required by:
sess:app:unspecified
> Could not resolve com.facebook.react:react-native:0.19.+.
> Failed to list versions for com.facebook.react:react-native.
> Unable to load Maven meta-data from https://jcenter.bintray.com/co
m/facebook/react/react-native/maven-metadata.xml.
> Could not GET 'https://jcenter.bintray.com/com/facebook/react/r
eact-native/maven-metadata.xml'.
> Connection to https://jcenter.bintray.com refused
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
BUILD FAILED
Total time: 49.111 secs
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/android-setup.html
whats wrong ?
Issue Analytics
- State:
- Created 8 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
compile 'com.facebook.react:react-native:+' defaults to 0.20.1
You shouldn't run into any “Failed to resolve: com.facebook.react:react-native:0.x.x" errors after running Gradle sync in Android Studio.
Read more >Could not resolve com.facebook.react:react-native:0.32.0
When in doubt over my build configuration (package.json, build.gradle on android, podfile or workspace/project settings on iOS), I create a ...
Read more >com.facebook.react : react-native : 0.20.1 - Maven Central
ReactNative - A framework for building native apps with React.
Read more >Integration with Existing Apps - React Native
You shouldn't run into any “Failed to resolve: com.facebook.react:react-native:0.x.x" errors after running Gradle sync in Android Studio.
Read more >com.facebook.react.uimanager.NativeViewHierarchyManager ...
The class is part of the package ➦ Group: com.facebook.react ... new IllegalViewOperationException("ViewManager for tag " + tag + " could not be...
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 Free
Top 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
See if my answer will help : http://stackoverflow.com/questions/35394570/react-native-build-failed-with-an-exception
@Msiavashi thanks for your help.
@Heaven1619 0.21 has just been cut, I think we are not linking to the jar properly and it still downloads the react-native.jar v 0.20.1 from Maven. We will fix this in the next 2 weeks when 0.21 will become stable.