Android distribution packaging fails with gradle

I have tried everything, uninstalling/Reinstalling codeworks, tools android updates, installing all the extras, fixing enviroment variables, deleting binaries/build/intermediate/saved folders in a project, regenerating keystore file, reaccepting license, disabling firewall… nothing fixed this issue, if anyone have ideas let me know, for now i gave up on this.

Just in case anyone has the same issue.
I reinstalled my windows and wiped out the C drive, now everything seems to work like charm. Good luck!