Exit code 1 trying to rename a file?

c:\users\green\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin../lib/gcc/avr/7.3.0/../../../../avr/bin/ar.exe: unable to rename 'C:\Users\Green\AppData\Local\arduino\sketches\898C26C71092DA716EC4D0771A823A54\core\core.a'; reason: Permission denied

Why did this appear,and how do i fix it

What OS? You have a permissions issue, without you telling us all about your environment nobody can tell you what you are doing wrong.

Have you tried to close the IDE and delete the file manually.

Not sure why it happens.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.