I'm starting to learn JavaScript and React Native (but like REALLY starting). I'm following a course on Udemy and I got stuck on a part where I need to accept some licenses using the "sdkmanager --licenses" command line on the cmd. Cmd tells me that "sdk manager path not recognized as an internal or external command". I tried moving on with the course, but a few steps later, cmd printed this:
"FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring project ':app'. Failed to install the following Android SDK packages as some licences have not been accepted."
I looked for some answers online, but couldn't fix it. I tried some things related to Environment Variables and some things saying the path of the sdkmanager shouldn't conatain white spaces or non ascii characters, but it didn't fixed.
Any help is appreciated! :)
Thanksssss!
PS: I just reseted my computer and followed every step, installed Node.js, JDK, Android Studio, VSCode and all the things the course asked me to.