Invoke-customs are only supported starting with Android O (--min-api 26)

Invoke-customs are only supported starting with Android O (--min-api 26)


Including the following within 
app/build.gradle:

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

Like :




Then rebuild the project and restart:


Finally:




Invoke-customs are only supported starting with Android O (--min-api 26) Invoke-customs are only supported starting with Android O (--min-api 26) Reviewed by TechTubeHQ on September 09, 2022 Rating: 5

No comments:

Powered by Blogger.