Cordova-plugin-qrscanner

Hello all

I have a problem whit compiling the project.
after running these commands → “ionic cordova run android” or “ionic cordova build android” I am getting this error:

cordova.cmd build android
[cordova]
[cordova] FAILURE: Build failed with an exception.
[cordova]
[cordova] * What went wrong:
[cordova] Could not resolve all files for configuration ‘:app:debugCompileClasspath’.
[cordova] > Could not download zxing-android-embedded.aar (com.journeyapps:zxing-android-embedded:3.3.0)
[cordova] > Could not get resource ‘https://jcenter.bintray.com/com/journeyapps/zxing-android-embedded/3.3.0/zxing-android-embedded-3.3.0.aar’.
[cordova] > Could not GET ‘https://jcenter.bintray.com/com/journeyapps/zxing-android-embedded/3.3.0/zxing-android-embedded-3.3.0.aar’.
[cordova] > sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[cordova]
[cordova] * Try:
[cordova] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[cordova]
[cordova] * Get more help at https://help.gradle.org
[cordova]
[cordova] BUILD FAILED in 2s
[cordova] C:\Workspace\nSKEP\Dev\WebAccess\Dscp.Mobile\platforms\android\gradlew: Command failed with exit code 1 Error output:
[cordova] FAILURE: Build failed with an exception.
[cordova]
[cordova] * What went wrong:
[cordova] Could not resolve all files for configuration ‘:app:debugCompileClasspath’.
[cordova] > Could not download zxing-android-embedded.aar (com.journeyapps:zxing-android-embedded:3.3.0)
[cordova] > Could not get resource ‘https://jcenter.bintray.com/com/journeyapps/zxing-android-embedded/3.3.0/zxing-android-embedded-3.3.0.aar’.
[cordova] > Could not GET ‘https://jcenter.bintray.com/com/journeyapps/zxing-android-embedded/3.3.0/zxing-android-embedded-3.3.0.aar’.
[cordova] > sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[cordova]
[cordova] * Try:
[cordova] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[cordova]
[ERROR] An error occurred while running subprocess cordova.

    cordova.cmd build android exited with exit code 1.

    Re-running this command with the --verbose flag may provide more information.

I want to mention that before it worked well and I was able to build and run it

My current versions are :
ionic -v
6.9.2
cordova -v
9.0.0 (cordova-lib@9.0.1)
“cordova-plugin-qrscanner”: “^3.0.1”,
@ionic-native/qr-scanner”: “^5.28.0”,

versions

If you don’t get any better answers, that’s not the only option for scanning QR codes. Ordinary BarcodeScanner works just fine.