Wednesday, 2 December 2020

Setting Java 8 in Android Studio


Open the Project and go the following path..........

Project --> Gradle Scripts --> build.gradle(Module: app)

Copy the following code and paste inside...   android{   }

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
HaseebAbbasi00

No comments:

Post a Comment