My Android Studio and Gradle was working fine for me a few days ago, i don't know what changed, but now when i am trying to import a project with Gradle, i get the message:
"You have not accepted the license agreements of the following SDK components: [Android SDK Build-Tools 25.0.2]. Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager. Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html "
- I use Windows 10
- "java -version" on cmd gives me the java version
when typing sdkmanager --licences i get:
"'sdkmanager' is not recognized as an internal or external command, operable program or batch file."
Tried to reinstall Andriod Studio, installing newest java version
- The projects i am trying to load are from a Google course in udacity so they should probably work fine (and they did work fine few days ago)
- When I am trying to create a new project with Gradle i get:
Failed to create directory "C:\Program Files\Projects\b"
- I did accept the License Agreement during the installation of Android Studio
- My User & System environment variables (photo): User Environment Variables + System Path Variable
Let me know if any other details are needed, thanks in advance! Omer