I also meet same issue, my device is esp32 with 2.9 inch e-paper module, my system is win10 1909 and i use windows defender as anti-virus software. When i use platfirmio to build, the build process looks like freezed on archiving libFrameworkArduino.a, but i use arduino and other esp32 project not find this issue. Could you give me some suggestion? thanks!
By the way, the esp32 e-paper lib is installed by myself on global lib folder.
Did this ever get resolved, i am using platfromio for the first time and it is stuck archiving for over an hour now. if this has not been resolved then i will bin it and vscode as thy appear to be trash.
I am on windows 10 so its windows defender is the only protection i have, don’t know how to tell if this is creating an issue it is not bleating. I have deleted the folder you suggested creating a project was not an issue just the build hangs. Fifteen minutes now so the arduino ide works a lot better for me, i will be patient for an hour. Spent money on a tutorial that pointed me to use this, but if it cant even do a blink sketch then i will delete the lot. Shame it looks quality but if can’t manage something this basic without hasle then…
The topic above also references ESP32 as the platform that the issue occurs. But as said, no issue on my side oO.
It also neever beated for me but definitely interefed. In my last post the linked topic has a link for adding an exception. Can you give it a shot to make absolutely sure nothing intereferes? As additional process names that should be added to the exception I can also recommend xtensa-esp32-elf-ar.exe (with or without .exe, idk) and xtensa-esp32-elf-gcc.exe and xtensa-esp32-elf-g++.exe.
Also there is the possibility of a more in-depth clean reinstall. It might still be restoring corrupted packages from the C:\Users\<user>\.platformio\.cache folder. So to be sure of that, the reinstall procedure would go:
Remove the PlatformIO extension from PlatformIO
Remove the entire C:\Users\<user>\.platformio\ folder
i also had the same thing using nodemcu esp8266 and while building it stopped at the Archiving line .pio\build\nodemcuv2\libFrameworkArduino.a and took a really long time but I’ve never waited for it to finish. any suggestions? thank you