I don’t arrive to build/run the application on Android Studio because of the barcode-scanner package (version 1.0.2 or 1.0.4… not tried on 2.0.x).
Here is the error message I get:
Execution failed for task ':capacitor-barcode-scanner:compileDebugKotlin'.
> Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (17) and 'compileDebugKotlin' (21).
1. What is it?
2. Can I solve it without upgrading to Capacitor V7 for the moment?
To downgrade, you have to download v17 via that interface. Make sure it is in a different location than v21. It didn’t work for me in the same location.
Also, after changing the version I had to restart my computer to have it take affect as the Gradle Daemon was caching v21.