I've faced a problem during the installation process of the android studio. I've ignored the failure at the start and after creating a project,it stated that "Gradle sync failed: Failed to create parent directory".
I've downloaded most SDK and searched for possible answers online but I'm still not able to solve the problems.
Please provide me with all the help possible. Thank you
In my case, I have pulled my repository, and it was displaying this error. To fix, just run the commands:
flutter clean
and then:
flutter run
It is because android studio needs admin privilege to create directory in that path. So, to solve this problem simply run android studio as administrator
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With