Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Execution failed for task ':app:signingConfigWriterDebug'

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.

like image 365
Suman Kumar Dash Avatar asked Nov 30 '22 07:11

Suman Kumar Dash


1 Answers

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. 

like image 63
Suman Kumar Dash Avatar answered Dec 09 '22 23:12

Suman Kumar Dash