Please do not share screenshots of text, but the text.
Screenshots are very hard to read and even harder to copy.
Especially when they are skewed like in your case.
The first part of the screenshot shows something about a missing “xcodebuild” executable, the second part shows that you try to listen on port 8081 which is already occupied, the third part is not showing anything relevant at all as far as I can tell.
And nothing in your text or screenshot suggest in any way that you have a Gradle related problem. So you should probably ask in some Metro community or react native community or whatever else is appropriate.
You can either stop the other process that is using port 8081 or change the port that your Node.js server is running on.
If you are trying to start your Node.js server on a mobile device, you may need to configure your firewall to allow connections to port 8081.
If you are still having trouble fixing the error, please provide more information about your setup.