update sdk version and fix gradle.