I\'m new to Gradle build system. I want to do some basic functions on it. I\'m running/building it in command line. I am referring User guide. And, doing some simple tasks.<
I had the same issue on mac:
take care, that your project is NOT on an external hard disk. The location of your project must be on the hard disk with your operating system.
(Building an Ionic app)
This may be happening because there is more than just once instance of Android Studio.
I was facing the same problem. But I solved it by just restarting my android studio. I am using OneDrive to save my project.