Installing arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7
Failed to install platform: arduino:avr.
Error: 2 UNKNOWN: installing tool arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7: moving extracted archive to destination dir: rename C:\Users\cosmi\AppData\Local\Arduino15\tmp\package-964956989\avr C:\Users\cosmi\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7: Access is denied.
Have you installed the IDE as supervisor?
How? Like with run as administrator?
I forgot to mention that I am on windows
I am not a windows person but I understand windows has administrator privileges as well as Linux etc. Sorry I am no help with windows.
Its ok i will try to google a bit
Can this be a problem because i have both IDS installed?
This sort of error could be caused by your antivirus software. Try TEMPORARILY disabling your antivirus for a single compilation to see if the problem goes away, then turn the antivirus back on.
If the problem doesn't occur with the antivirus off you will need to adjust the settings of your antivirus to put the appropriate file, folder, or process on the "allow list" so it doesn't interfere with compilation.
Please be cautious about working without an antivirus. This is only about temporarily disabling it for a quick test. If you don't feel comfortable doing that, fine. You can try going straight to configuring the antivirus to not interfere with the Arduino software.
There should be no problem having both IDEs installed. There is a possibility that they could interfere with each other if you have both the classic Arduino IDE and Arduino IDE 2.x running simultaneously.
Now when i opened the IDE as soon as my PC booted up it worked(runned as administrator), but thanks if i get this problem again I will try that too.
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.