Android project error: invoke customers are only supported starting with Android o (- – min API 26)
Solution:
Under the app folder, click build. Gradle
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
As shown in the figure below