How can I fix (CRC doesn't match)

I cant install the Adafruit GFX lib, this error pops pls help!

Nice black blob, I cannot read it. Read the instructions for this forum about posting compiler errors.

I get the same error trying to update. I think the problem is at the Adafruit end and they have to fix it.

CRC doesn't match, file is corrupted. It may be a temporary problem, please retry later.
java.lang.RuntimeException: java.lang.Exception: CRC doesn't match, file is corrupted. It may be a temporary problem, please retry later.
at cc.arduino.contributions.libraries.ui.LibraryManagerUI.lambda$onInstallPressed$4(LibraryManagerUI.java:248)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.Exception: CRC doesn't match, file is corrupted. It may be a temporary problem, please retry later.
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:105)
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:60)
at cc.arduino.contributions.libraries.LibraryInstaller.performInstall(LibraryInstaller.java:155)
at cc.arduino.contributions.libraries.LibraryInstaller.install(LibraryInstaller.java:125)
at cc.arduino.contributions.libraries.LibraryInstaller.install(LibraryInstaller.java:117)
at cc.arduino.contributions.libraries.ui.LibraryManagerUI.lambda$onInstallPressed$4(LibraryManagerUI.java:239)
... 1 more

Getting the same error when trying to update an Adafruit library with Arduino 1.8.15 IDE. Happens regardless of which computer I am on, with and without a board connected.

Searched the Adafruit forum but not seeing any solutions there.

Hi all. I apologize for any inconvenience. The problem is something in the Arduino Library Manager back end, nothing caused by anything Adafruit has done or can do anything to fix.

We will investigate this today and I'll provide updates as soon as I know anything more.

Is everyone getting this from an installation that includes the "Adafruit GFX Library"? Note that some libraries have dependencies on other libraries, so you might also get this when installing a library that has a dependency on "Adafruit GFX Library". The Arduino IDE shows a confirmation dialog that lists the dependencies which it proposes to install, so you can see whether "Adafruit GFX Library" is on that list.

2 Likes

Hello, I'm back with good news. The incorrect checksums in the Arduino Library Manager index for the Adafruit libraries have now been corrected.

Since they were the ones reported, the developers gave priority to an immediate fix for these libraries. There are some other non-Adafruit libraries that were also affected and the IDE's library index cache timer hasn't yet expired for the fix on those. So you might still find a few others with the CRC mismatch, but those should be resolved automatically in a few hours when the cache expiration causes the IDE to pull the new index.

Please let me know if you encounter any issues.

1 Like

You can also download the Adafruit gfx library from GitHub and then use it. worked for me