ADXL345 + Uno R2 works while ADXL345 + Leonardo R3 does not

Fixed. It was an obvious mistake. The SPI and i2c pins have changed on the Leonardo. Attaching the SDA directly to the "SDA" pin and SCL to "SCL" works. Still without any resistors.