-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
Android build fails in 0.71.0-rc.0 with "Could not find com.facebook.react:react-native:0.71.0-rc.0" #35279
Comments
maybe related to this? #35210 |
@Adnan-Bacic I think that's related, both are because React Android is supposed to be published on Maven from what I understand. |
yeah so the reason is that we got SonarType to remove (less than 24hrs ago) the 0.71 artifacts from Maven Central, to avoid any further issues and bring back the situation as it was before for the ecosystem. We are writing up now how to test Android for 0.71 RC0 now that the maven artifacts for it don't exist anymore on maven central, we'll post those instructions both in the reactwg/react-native-releases#41 and in the release notes https://github.com/facebook/react-native/releases/tag/v0.71.0-rc.0 ( cc @cipolleschi ) |
I updated the instructions in both the links shared by @kelset. A disclaimer note: my cache is still good, so I'm still able to run Android with the standard flow. If someone can confirm that those instructions are actually working, it would be gold! Thank you so much. 🙇 |
(for context: the maven caches will take around 24hrs to clean, so we are waiting before announcing more broadly the removal of the artifacts since they might still be alive for some folks) |
Hi @cipolleschi @kelset, thanks for your quick help! I think you need to update the links to After that I was able to start my app with the steps you provided :) Feel free to close this issue once the links are updated |
Thanks for the feedback and the double-check! Will update the links and close the discussion! |
One last thing about libraries, when I add react-native libraries that have the line
in their
Is it something due to the use of the Tell me if you think this needs a new issue, I can open it :) |
yeah it's expected because you'll have to move away from that dep; read more of the state of libraries here: reactwg/react-native-releases#41 Once Nicola is back we'll figure out the migration path for libraries |
Hey Guys, i think im experiencing and error that is also related to this, but on RN 0.65.3 - so the latest patch for 0.65
It seems like there is no hermes version vailabel for this RN Version from my perspective? Would be super happy if someone could help out with that |
cross-posting the solution from reactwg/react-native-releases#41 (reply in thread): before running
|
Just a heads up that we released 0.71.0-rc1 which should work fine, without having to specify any workaround or download any artifacts manually |
I just upgraded to RC1 and tried to run an android app I'm developing locally. One of the dependencies it has is the community async storage (
I assume this is related because it can't match |
@varemenos libraries will need to adapt to some of the changes coming with 0.71, we're having direct conversations with some key maintainers to setup a migration story for everyone to use, we hope to have it ready ~RC3 |
Thanks for flagging this @varemenos. As @kelset mentioned, we're looking into those kind of issues right now. They'll be fixed in RC3 |
Hi there! I am trying to update my RNative version to 0.70.6 and I am facing a similar issue to the one described in this thread. I have tried downgrading the version to 0.70.5 but I still have the same error:
In my
and under dependencies in
I also tried updating the Does anyone know what the error could be here? Any help would be really appreciated! |
The mmkv2.6+ version needs to rely on react-native71 or above, so it is still necessary to control the mmkv version to 2.5 |
A few hours after I posted a question here I found this useful thread (react-native-mmkv/issues/500) where I understood that the solution was downgrading mmkv library to version 2.5 because 2.6+ works for react native version 0.71+ Thanks anyway for your help fencer! |
@fencer - sure this helped a lot |
Description
I'm trying to test the new release candidate.
I've created a new app, but when trying to start the app on Android, I get the following error (output of
yarn android --variant=release
yields more info:Also on https://repo.maven.apache.org/maven2/com/facebook/react/react-native/, I see "0.71.0-rc.0" but clicking on it returns a 404.
Is there something I am missing to be able to test the new release candidate?
Version
0.71.0-rc.0
Output of
npx react-native info
Steps to reproduce
Snack, code example, screenshot, or link to a repository
I put the result of a newly created project here: https://github.com/louiszawadzki/RN0710RC0
The text was updated successfully, but these errors were encountered: