adaptech-cz / Tesseract4Android

Fork of tess-two rewritten from scratch to support latest version of Tesseract OCR.
Apache License 2.0
718 stars 111 forks source link

Received status code 401 from server: Unauthorized #41

Closed johannessachse closed 2 years ago

johannessachse commented 2 years ago

I get an error in version 4.1.1. Maybe there are private submodules?

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not resolve cz.adaptech.android:tesseract4android:4.1.1.
     Required by:
         project :app > project :flutter_mrz_scanner
      > Could not resolve cz.adaptech.android:tesseract4android:4.1.1.
         > Could not get resource 'https://jitpack.io/cz/adaptech/android/tesseract4android/4.1.1/tesseract4android-4.1.1.pom'.
            > Could not GET 'https://jitpack.io/cz/adaptech/android/tesseract4android/4.1.1/tesseract4android-4.1.1.pom'. Received status code 401 from server: Unauthorized
Robyer commented 2 years ago

You used wrong dependency name. It should be implementation 'cz.adaptech:tesseract4android:4.1.1', not implementation 'cz.adaptech.android:tesseract4android:4.1.1'

johannessachse commented 2 years ago

It works fine now. Thank you!