I've inherited a react-native project that was not built in the right to say the least. Tried to generate the apk but keeps getting errors which I suspect are related to the sdk version. What is the relation between the gradle file on the root level (i.e. /android) vs. the ones inside each of the node_modules? on my root level I have defined the compile sdk version and target to be 29, but in node_modules I see all sorts of versions. Currently the error I see is:
AAPT: error: resource android:attr/dialogCornerRadius not found.
AAPT: error: resource android:attr/dialogCornerRadius not found.
Searched and saw it might be related to the version issue, but for which one?