build.gradle의 sourceCompatibility = '11' 확인
Project Structure > Project Settings > Project
Project Structure > Platform Settings > SDKs