We had this issue and tried all the above-mentioned solutions but nothing worked. We are using RN 0.75.2
Decided to upgrade Grade version to 8.9 and now all errors have vanished.
I'm using Android Studio and followed the following steps: