Fix target SDK to work with robolectric.
Update files to pass check styles.