Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 230801

Error during the build on Android Studio with @capacitor/barcode-scanner

$
0
0

Hello,

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?

Thanks for your help,
Loïc


Viewing all articles
Browse latest Browse all 230801

Trending Articles