I was able to fix it by changing the url that was not working in these two files (when adding it only in node_modules/react-native, the expo-modules-core error appeared) new url: "https://sourceforge.net/projects/boost/files/boost/1.76.0/boost_1_76_0.tar.gz/download"
node_modules/react-native/ReactAndroid/android/build.gradle
node_modules/expo-modules-core/android/build.gradle
and then
cd android && ./gradlew clean