Xinyuan-LilyGO / TTGO-T-Display

MIT License
1.02k stars 335 forks source link

"Specified folder/zip file does not contain a valid library"? #74

Closed Shohreh closed 2 years ago

Shohreh commented 2 years ago

Hello,

I'm new to the Arduino IDE, so it might be obvious, but…

By default, the installer adds Bodmer's version of the TFT_eSPI library, which prevented the firmware I'm using to run.I guess there's some incompatibility involved.

Installing Xinyuan-LilyGO's version fails with the IDE's "Add ZIP library" menu: "Specified folder/zip file does not contain a valid library."

So I closed the IDE, removed c:\Users\jdoe\Documents\Arduino\libraries\TFT_eSPI, copied Xinyuan-LilyGO's \TFT_eSPI, and compiled + uploaded the new firmware successfully.

Out of curiosity, why…

  1. Can't the IDE install the Xinyuan-LilyGO library through the menu
  2. Does it still list Bodmer's version even after deleting its folder and restarting the IDE ?

Thank you.

image

LilyGO commented 2 years ago

This may be an arduino problem. It may be that the version is different or some files are missing, so that the arduino cannot recognize the library, but there is the same name, so it cannot be added.

Shohreh commented 2 years ago

Thank you.