I'm trying out the biometric demo in Kastri project.
I followed the instructions in the readme to
a) right-click in Library, Revert System Files to Default
b) project-clean, project-build
But I'm getting multiple errors.
I'm using Java version 8. It has no issues with running other Android64 projects, only this biometric one.
Checking project dependencies...
Compiling BiometricDemoD11.dproj (Release, Android64)
paclient command line
c:\program files (x86)\embarcadero\studio\22.0\bin\paclient.exe -u8 --dexmerge="C:\Program
Files\AdoptOpenJDK\jdk-8.0.242.08-hotspot\bin\java.exe,c:\program files
(x86)\embarcadero\studio\22.0\bin\Android\r8-3.0.73.jar,C:\lib\kastri\Demos\Biometric\Android64\Release\BiometricDemoD11.classes,C:\lib\kastri\Demos\Biometric\Android64\Release\dex_list.txt"
[PAClient Error] Error: E7688 Unable to execute '"C:\Program Files\AdoptOpenJDK\jdk-8.0.242.08-hotspot\bin\java.exe" -cp "c:\program files (x86)\embarcadero\studio\22.0\bin\Android\r8-3.0.73.jar" com.android.tools.r8.D8 --output "C:\lib\kastri\Demos\Biometric\Android64\Release\BiometricDemoD11.classes" @"C:\lib\kastri\Demos\Biometric\Android64\Release\dex_list.txt"' (Error 1)
[PAClient Error] Error: E7688 Error in c:\program files (x86)\embarcadero\studio\22.0\lib\android\Release\fragment-1.0.0.dex.jar:classes.dex:
[PAClient Error] Error: E7688 Type androidx.fragment.app.BackStackState$1 is defined multiple times: c:\program files (x86)\embarcadero\studio\22.0\lib\android\Release\fragment-1.0.0.dex.jar:classes.dex, C:\lib\kastri\Demos\Biometric\Android64\Release\fragment-1.3.6-dexed.jar:classes.dex
[PAClient Error] Error: E7688 Compilation failed
[PAClient Error] Error: E7688 Exception in thread "main" java.lang.RuntimeException: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: c:\program files (x86)\embarcadero\studio\22.0\lib\android\Release\fragment-1.0.0.dex.jar:classes.dex
[PAClient Error] Error: E7688 at com.android.tools.r8.utils.w.a(SourceFile:92)
[PAClient Error] Error: E7688 at com.android.tools.r8.D8.main(D8.java:4)
[PAClient Error] Error: E7688 Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: c:\program files (x86)\embarcadero\studio\22.0\lib\android\Release\fragment-1.0.0.dex.jar:classes.dex
[PAClient Error] Error: E7688 at Version.fakeStackEntry(Version_3.0.73.java:0)
[PAClient Error] Error: E7688 at com.android.tools.r8.utils.w.a(SourceFile:68)
[PAClient Error] Error: E7688 at com.android.tools.r8.utils.w.a(SourceFile:28)
[PAClient Error] Error: E7688 at com.android.tools.r8.utils.w.a(SourceFile:27)
[PAClient Error] Error: E7688 at com.android.tools.r8.utils.w.b(SourceFile:3)
[PAClient Error] Error: E7688 at com.android.tools.r8.D8.a(D8.java:17)
[PAClient Error] Error: E7688 at com.android.tools.r8.D8.a(D8.java:15)
[PAClient Error] Error: E7688 at com.android.tools.r8.utils.w.a(SourceFile:84)
[PAClient Error] Error: E7688 ... 1 more
[PAClient Error] Error: E7688 Caused by: com.android.tools.r8.internal.b: Type androidx.fragment.app.BackStackState$1 is defined multiple times: c:\program files (x86)\embarcadero\studio\22.0\lib\android\Release\fragment-1.0.0.dex.jar:classes.dex, C:\lib\kastri\Demos\Biometric\Android64\Release\fragment-1.3.6-dexed.jar:classes.dex
[PAClient Error] Error: E7688 at com.android.tools.r8.internal.UA.a(SourceFile:14)
[PAClient Error] Error: E7688 at com.android.tools.r8.internal.UA.a(SourceFile:22)
[PAClient Error] Error: E7688 at com.android.tools.r8.internal.Fw.b(SourceFile:6)
[PAClient Error] Error: E7688 at com.android.tools.r8.internal.Fw.a(SourceFile:23)
[PAClient Error] Error: E7688 at com.android.tools.r8.internal.Fw.a(SourceFile:10)
[PAClient Error] Error: E7688 at java.util.concurrent.ConcurrentHashMap.merge(ConcurrentHashMap.java:1990)
[PAClient Error] Error: E7688 at com.android.tools.r8.internal.Fw.a(SourceFile:6)
[PAClient Error] Error: E7688 at com.android.tools.r8.graph.I0$c.f(SourceFile:3)
[PAClient Error] Error: E7688 at com.android.tools.r8.dex.a.a(SourceFile:94)
[PAClient Error] Error: E7688 at com.android.tools.r8.dex.a.a(SourceFile:23)
[PAClient Error] Error: E7688 at com.android.tools.r8.D8.a(D8.java:21)
[PAClient Error] Error: E7688 at com.android.tools.r8.D8.d(D8.java:11)
[PAClient Error] Error: E7688 at com.android.tools.r8.D8.c(D8.java:1)
[PAClient Error] Error: E7688 at com.android.tools.r8.utils.w.a(SourceFile:24)
[PAClient Error] Error: E7688 ... 5 more
Failed