Gradle Project Sync Failed Functionality