delete those generated files: .idea/gradle.xml .idea/workspace.xml then clicking try again to sync the project.