Try addding adding the following compile options to your build.gradle file: compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } See working gradle build file below: apply plugin: 'com.android.application' android { compileSdkVersion 28 defaultConfig { applicationId "a.e.poc.biometricandroid" minSdkVersion 24 targetSdkVersion 28 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } compileOptions...
Try addding adding the following compile options to your build.gradle file: compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } See working gradle build file below: apply plugin: 'com.android.application' android { compileSdkVersion 28 defaultConfig { applicationId "app.evtrack.poc.biometricandroid" minSdkVersion 24 targetSdkVersion 28 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } compileOptions...