Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

React native build "Evaluating settings" step taking forever

Print of terminal

I am building a mobile app with react native and typescript, until now it was working fine, but yesterday I tried to start it up with react-native run-android and it just doesn't go through this "Evaluating Settings" step, once I tried to let it running and it was 40 minutes in this step, it also happens for any other command from gradle like ./gradlew clean

I tried removing android/.gradle deleting node_modules, yarn.lock and Users/user/.gradle and starting it up again but it did not help.

like image 206
Pedro Henrique Warken Ramos Avatar asked Oct 29 '25 10:10

Pedro Henrique Warken Ramos


2 Answers

I fixed this by updating my settings.gradle file by commenting out this line of code:

apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)

like image 182
louis Avatar answered Nov 01 '25 00:11

louis


try use this https://react-native-community.github.io/upgrade-helper/

I also had an upgrade from @0.73.6 to @0.75,

this worked for me.

like image 24
dioo1461 Avatar answered Nov 01 '25 01:11

dioo1461