Issue
Recently I have faced the following problem. When I have just built the project with another user-account before and the permissions were not inherited from a parent directory. It shows an error like that:
java.nio.file.AccessDeniedException: C:\Projects\PracticeApp\app\build\intermediates\signing_config\debug\out\signing-config.json
What is the reason? How can I solve it ? Thank you in advance.
Solution
At last the solution I found: I try to change signing-config.json properties and it works.
- open \build\app\intermediates\signing_config\debug\out.
- then right click on signing-config.json and open properties.
- go to security tab and click advance button.
- Then click the security
- click change owner
- add your active windows user and apply
- open file properties one more time, go to the Security tab.
- Now select the user and edit the access permission all read write.
I have followed this link link and it works now for me. Thank you so much.
Answered By - Suman Kumar Dash