Adafruit BusIO/Adafruit_SPIDevice.h:1:17: fatal error: SPI.h: No such file or directory

cool , i added the #include <SPI.h> then solved my problem too, thankyou