-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
0.70.5 android build fail due to no versions of com.facebook.react:react-native are available. #35753
Comments
|
This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days. |
Have you solved this? Could you try again on 0.71? |
Getting the same issue, upgraded from 0.68.5 to 0.70.6, but got this. @cortinico Should I try 0.71? For context on how this happened, really don't know. Yesterday, before I stopped working I was able to build without any problems, next day this happens, reported by our team members. System: |
Yes please. |
@cortinico I tried 0.71, it can build Android without issues now but, I think this version has issues for the packages we use since 0.71 might not be compatible with some packages as of the moment. I decided we slowly update our project and from 0.68.5 -> 0.69.7, I keep on getting this dependency resolution error when building for Android.
android/build.gradle
android/app/build.gradle
|
@cortinico I solved it finally. I used this solution. |
Closing as @ahmadbenos is unresponsive |
You can modify
like facebookincubator/fbjni#50 (comment) or
like #34328 (comment) or modify e.g
|
Description
trying to npx react-native run-android but keep getting this error:
Version
0.70.5
Output of
npx react-native info
System:
OS: macOS 13.1
CPU: (8) arm64 Apple M1
Memory: 575.52 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 19.3.0 - /opt/homebrew/bin/node
Yarn: Not Found
npm: 9.2.0 - /opt/homebrew/bin/npm
Watchman: 2022.12.26.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.3 - /opt/homebrew/bin/pod
SDKs:
iOS SDK: Not Found
Android SDK: Not Found
IDEs:
Android Studio: 2021.3 AI-213.7172.25.2113.9123335
Xcode: /undefined - /usr/bin/xcodebuild
Languages:
Java: 11.0.17 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.1.0 => 18.1.0
react-native: ^0.70.5 => 0.70.5
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
npx react-native run-android
Snack, code example, screenshot, or link to a repository
npx react-native run-android
The text was updated successfully, but these errors were encountered: