Error on signing-config.json (Access is denied) running an app in Android Studio

Solution 1:

Just Delete the File signing_config.json and re-run

And it will work fine

Solution 2:

Simply, just run your Android Studio as Administrator and it will do the trick and no need to delete any file or anything. This worked for me.

Solution 3:

In Some cases, it will not allow you to remove the file just by pressing "Delete" button.

You need to use "Shift + Delete"

Solution 4:

app\build\intermediates\signing_config\debug\out\signing-config.json

In my case, I followed the most voted answer in this question.

After delete signing-config.json file in the above path, everything works fine!:)