Closed PunainenAurinko closed 2 years ago
hi @PunainenAurinko, could you please provide a link to the builds you are referencing here?
@JalexChen Here:
Thank you!
@JalexChen Are there any news on this? I'm not sure if the links are helpful. These are private repos and private workflows.
hi @PunainenAurinko - you are correct that the basic 2022.03.1 tag should not be what is used if you have node running. you should use the image with the -node suffix; if you would like to use the -ndk variant (or even the base version), using the node orb to install it onto the container might also be an option if the -node variant continues to not pass the checkout step
Unfortunately, I'm not entirely sure why the build is failing to execute when using the -node variant. As it stands, it looks like it might be a connection issue on your end, which is odd considering the other images are passing that step. Have you since tried running this again and has it at least gotten past that step so we have a bit more to work with?
@JalexChen Hey there, I just tried the new April image and it worked for me right away. I am now using cimg/android:2022.04-node
for my React Native Android builds and it works perfectly. I didn't need to modify the config at all to use it, I just swapped it with the legacy image and the build went through. I don't know what was wrong with the March Android -node image, but the April one works without issues. Thanks for looking into this though, and you can close this issue now. Thank you!
I have been previously using
circleci/android:api-30-node
image for my React Native Android builds. But I've been getting a warning on CircleCi that I'm using deprecated docker images. So, I decided to upgrade to the new Android cimg convenience images, but my builds now keep failing. I triedcimg/android:2022.03.1
,cimg/android:2022.03.1-node
, and evencimg/android:2022.03.1-ndk
.Here's the error I'm getting when trying to download Android dependencies on
cimg/android:2022.03.1
andcimg/android:2022.03.1-ndk
:And the builds won't event start when using
cimg/android:2022.03.1-node
, which I think is the one that I actually should be using, as I was using the node-prefixed image before. This is the error that I'm getting during checkout code step (on the 5th second of the build running):All builds that are run using the deprecated
circleci/android:api-30-node
go through without any issues.I need help with this, as I am afraid the deprecated images will be discontinued, and I wont' be able to run my builds. Thank you!