How do you manually remove a broken board library?

I'm having a weird issue with the board library for the IDE. I tried to install the Adafruit SAMD Boards library but I kept getting errors about missing header files and couldn't build. I figured it was a bad install so I tried to remove the board library and at first it seemed to remove it. I could no longer see it in my board list so I went to go reinstall it, but it still says I have the Adafruit SAMD Boards v1.5.10 installed. :confused:

I tried to remove it again but get a java.lang.NullPointerException error message and it does nothing. It seems that it thinks the boards are still installed so it won't let me do anything with it. Trying to update or change versions also give the same error. So trying to use the board manager keeps failing. Is there a way I can manually remove the installed board library?

Here's how you can manually remove it:

  • (In the Arduino IDE) File > Preferences
  • Click the link at the line following "More preferences can be edited directly in the file".
  • Open the "packages" folder.
  • Delete the "adafruit" folder. Please be very careful when deleting files from your computer. When in doubt, back up!

That fixed it for me! Thanks

You're welcome. I'm glad to hear it's working now. Enjoy!
Per