I'm struggling with building a react native project for android and need some help.
When I run the build command (./gradlew bundleRelease) from the
<project_root>/android directory I get an error (as shown below) saying that I haven't accepted the licenses for the android SDK and I need to do so in order to build the project.
And when (after some googling) I ran the accept licenses command from the SDK root directory, I get another error (as shown below)
It might be worth pointing out that I'm essentially reviving a very old project that I had the source code for, so the Android Studio, Android SDK and everything else is freshly installed on my system.
Thanks in advance for all the help!