Stm32 or samd architecture (solved)

Hello,

The error the Arduino IDE gives me is:
WARNING: library STM32duino_LSM303AGR claims to run on (stm32) architecture(s) and may be incompatible with your current board which runs on (samd) architecture(s).

This is the reason why the program doesn’t run in Atmel Studio 7, because Atmel doesn’t recognize the library.
Is there a way i can change this?

Fixed it,
Problem was in the library.properties