log for io.github.subhamtyagi.ocr:10
Traceback (most recent call last):
File "/home/fbuild/fdroidserver/fdroidserver/build.py", line 1127, in main
options.onserver, options.refresh):
File "/home/fbuild/fdroidserver/fdroidserver/build.py", line 885, in trybuild
build_server(app, build, vcs, build_dir, output_dir, log_dir, force)
File "/home/fbuild/fdroidserver/fdroidserver/build.py", line 268, in build_server
str(output, 'utf-8'))
fdroidserver.exception.BuildException: Build.py failed on server for io.github.subhamtyagi.ocr:3.1
==== detail begin ====
== Installed Android Tools ==
2022-02-22 12:18:40,322 DEBUG: Reading 'config.yml'
2022-02-22 12:18:40,331 INFO: Using /opt/android-sdk/build-tools/29.0.3/apksigner
2022-02-22 12:18:40,334 INFO: Creating log directory
2022-02-22 12:18:40,334 INFO: Creating temporary directory
2022-02-22 12:18:40,334 INFO: Creating output directory
2022-02-22 12:18:40,337 DEBUG: Getting git vcs interface for https://github.com/SubhamTyagi/android-ocr.git
2022-02-22 12:18:40,337 DEBUG: > git --version
git version 2.11.0
2022-02-22 12:18:40,548 INFO: Using git version 2.11.0
2022-02-22 12:18:40,549 DEBUG: Checking 3.1
2022-02-22 12:18:40,549 INFO: Building version 3.1 (10) of io.github.subhamtyagi.ocr
2022-02-22 12:18:40,550 DEBUG: > sudo passwd --lock root
passwd: password expiry information changed.
2022-02-22 12:18:40,758 DEBUG: > sudo SUDO_FORCE_REMOVE=yes dpkg --purge sudo
(Reading database ... 64893 files and directories currently installed.)
Removing sudo (1.8.19p1-2.1+deb9u3) ...
Purging configuration files for sudo (1.8.19p1-2.1+deb9u3) ...
Processing triggers for systemd (232-25+deb9u13) ...
2022-02-22 12:18:46,244 INFO: Getting source for revision 6b11328236ceec0507f4a7d03ae89ec80d7a9c37
2022-02-22 12:18:46,253 DEBUG: Directory: build/io.github.subhamtyagi.ocr
2022-02-22 12:18:46,253 DEBUG: > git rev-parse --show-toplevel
2022-02-22 12:18:46,460 DEBUG: Directory: build/io.github.subhamtyagi.ocr
2022-02-22 12:18:46,460 DEBUG: > git submodule foreach --recursive git reset --hard
2022-02-22 12:18:46,566 DEBUG: Directory: build/io.github.subhamtyagi.ocr
2022-02-22 12:18:46,567 DEBUG: > git reset --hard
2022-02-22 12:18:46,772 DEBUG: Directory: build/io.github.subhamtyagi.ocr
2022-02-22 12:18:46,772 DEBUG: > git submodule foreach --recursive git clean -dffx
2022-02-22 12:18:46,877 DEBUG: Directory: build/io.github.subhamtyagi.ocr
2022-02-22 12:18:46,877 DEBUG: > git clean -dffx
2022-02-22 12:18:46,981 DEBUG: Directory: build/io.github.subhamtyagi.ocr
2022-02-22 12:18:46,981 DEBUG: > git -c core.askpass=/bin/true -c core.sshCommand=/bin/false -c url.https://.insteadOf=ssh:// -c url.https://u:p@bitbucket.org/.insteadOf=git@bitbucket.org: -c url.https://u:p@bitbucket.org.insteadOf=git://bitbucket.org -c url.https://u:p@bitbucket.org.insteadOf=https://bitbucket.org -c url.https://u:p@github.com/.insteadOf=git@github.com: -c url.https://u:p@github.com.insteadOf=git://github.com -c url.https://u:p@github.com.insteadOf=https://github.com -c url.https://u:p@gitlab.com/.insteadOf=git@gitlab.com: -c url.https://u:p@gitlab.com.insteadOf=git://gitlab.com -c url.https://u:p@gitlab.com.insteadOf=https://gitlab.com fetch origin
2022-02-22 12:18:47,287 DEBUG: Directory: build/io.github.subhamtyagi.ocr
2022-02-22 12:18:47,287 DEBUG: > git -c core.askpass=/bin/true -c core.sshCommand=/bin/false -c url.https://.insteadOf=ssh:// -c url.https://u:p@bitbucket.org/.insteadOf=git@bitbucket.org: -c url.https://u:p@bitbucket.org.insteadOf=git://bitbucket.org -c url.https://u:p@bitbucket.org.insteadOf=https://bitbucket.org -c url.https://u:p@github.com/.insteadOf=git@github.com: -c url.https://u:p@github.com.insteadOf=git://github.com -c url.https://u:p@github.com.insteadOf=https://github.com -c url.https://u:p@gitlab.com/.insteadOf=git@gitlab.com: -c url.https://u:p@gitlab.com.insteadOf=git://gitlab.com -c url.https://u:p@gitlab.com.insteadOf=https://gitlab.com remote prune origin
2022-02-22 12:18:47,503 DEBUG: Directory: build/io.github.subhamtyagi.ocr
2022-02-22 12:18:47,504 DEBUG: > git -c core.askpass=/bin/true -c core.sshCommand=/bin/false -c url.https://.insteadOf=ssh:// -c url.https://u:p@bitbucket.org/.insteadOf=git@bitbucket.org: -c url.https://u:p@bitbucket.org.insteadOf=git://bitbucket.org -c url.https://u:p@bitbucket.org.insteadOf=https://bitbucket.org -c url.https://u:p@github.com/.insteadOf=git@github.com: -c url.https://u:p@github.com.insteadOf=git://github.com -c url.https://u:p@github.com.insteadOf=https://github.com -c url.https://u:p@gitlab.com/.insteadOf=git@gitlab.com: -c url.https://u:p@gitlab.com.insteadOf=git://gitlab.com -c url.https://u:p@gitlab.com.insteadOf=https://gitlab.com fetch --prune --tags --force origin
2022-02-22 12:18:47,809 DEBUG: Directory: build/io.github.subhamtyagi.ocr
2022-02-22 12:18:47,809 DEBUG: > git remote set-head origin --auto
2022-02-22 12:18:48,216 DEBUG: Directory: build/io.github.subhamtyagi.ocr
2022-02-22 12:18:48,216 DEBUG: > git checkout -f 6b11328236ceec0507f4a7d03ae89ec80d7a9c37
2022-02-22 12:18:48,422 DEBUG: Directory: build/io.github.subhamtyagi.ocr
2022-02-22 12:18:48,422 DEBUG: > git clean -dffx
2022-02-22 12:18:48,527 INFO: Creating local.properties file at build/io.github.subhamtyagi.ocr/local.properties
2022-02-22 12:18:48,527 INFO: Creating local.properties file at build/io.github.subhamtyagi.ocr/app/local.properties
2022-02-22 12:18:48,528 DEBUG: Removing debuggable flags from build/io.github.subhamtyagi.ocr/app
2022-02-22 12:18:48,542 INFO: Running 'prebuild' commands in build/io.github.subhamtyagi.ocr/app
2022-02-22 12:18:48,542 DEBUG: Directory: build/io.github.subhamtyagi.ocr/app
2022-02-22 12:18:48,543 DEBUG: > bash -x -c -- sed -i -e '/splits/,+7d' build.gradle
+ sed -i -e /splits/,+7d build.gradle
2022-02-22 12:18:48,752 INFO: Cleaning Gradle project...
2022-02-22 12:18:48,752 DEBUG: Directory: build/io.github.subhamtyagi.ocr/app
2022-02-22 12:18:48,753 DEBUG: > /home/vagrant/fdroidserver/gradlew-fdroid clean
Found 6.7.1 via distributionUrl
Downloading missing gradle version 6.7.1
cachedir /home/vagrant/.cache/fdroidserver
/home/vagrant/.cache/fdroidserver/gradle-6.7.1-bin.zip: OK
Running /opt/gradle/versions/6.7.1/bin/gradle clean
Welcome to Gradle 6.7.1!
Here are the highlights of this release:
- File system watching is ready for production use
- Declare the version of Java your build requires
- Java 15 support
For more details see https://docs.gradle.org/6.7.1/release-notes.html
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/6.7.1/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing
> Configure project :app
WARNING:: The option setting 'android.nonTransitiveRClass=true' is experimental.
The current default is 'false'.
> Task :app:clean UP-TO-DATE
BUILD SUCCESSFUL in 18s
1 actionable task: 1 up-to-date
2022-02-22 12:19:15,792 INFO: Scanning source for common problems...
2022-02-22 12:19:15,796 INFO: Removing gradle-wrapper.jar at gradle/wrapper/gradle-wrapper.jar
2022-02-22 12:19:15,814 INFO: Creating source tarball...
2022-02-22 12:19:15,937 INFO: Building Gradle project...
2022-02-22 12:19:15,938 DEBUG: Directory: build/io.github.subhamtyagi.ocr/app
2022-02-22 12:19:15,938 DEBUG: > /home/vagrant/fdroidserver/gradlew-fdroid assembleRelease
Found 6.7.1 via distributionUrl
Running /opt/gradle/versions/6.7.1/bin/gradle assembleRelease
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/6.7.1/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing
> Configure project :app
WARNING:: The option setting 'android.nonTransitiveRClass=true' is experimental.
The current default is 'false'.
File /home/vagrant/.android/repositories.cfg could not be loaded.
Checking the license for package Android SDK Build-Tools 30.0.2 in /opt/android-sdk/licenses
License for package Android SDK Build-Tools 30.0.2 accepted.
Preparing "Install Android SDK Build-Tools 30.0.2 (revision: 30.0.2)".
"Install Android SDK Build-Tools 30.0.2 (revision: 30.0.2)" ready.
Installing Android SDK Build-Tools 30.0.2 in /opt/android-sdk/build-tools/30.0.2
"Install Android SDK Build-Tools 30.0.2 (revision: 30.0.2)" complete.
"Install Android SDK Build-Tools 30.0.2 (revision: 30.0.2)" finished.
Checking the license for package Android SDK Platform 31 in /opt/android-sdk/licenses
License for package Android SDK Platform 31 accepted.
Preparing "Install Android SDK Platform 31 (revision: 1)".
"Install Android SDK Platform 31 (revision: 1)" ready.
Installing Android SDK Platform 31 in /opt/android-sdk/platforms/android-31
"Install Android SDK Platform 31 (revision: 1)" complete.
"Install Android SDK Platform 31 (revision: 1)" finished.
> Task :app:preBuild UP-TO-DATE
> Task :cropper:preBuild UP-TO-DATE
> Task :cropper:preReleaseBuild UP-TO-DATE
> Task :cropper:compileReleaseAidl NO-SOURCE
> Task :cropper:packageReleaseRenderscript NO-SOURCE
> Task :cropper:compileReleaseRenderscript NO-SOURCE
> Task :app:extractProguardFiles
> Task :app:preReleaseBuild
> Task :cropper:generateReleaseResValues
> Task :cropper:generateReleaseResources
> Task :app:compileReleaseAidl NO-SOURCE
> Task :cropper:writeReleaseAarMetadata
> Task :app:compileReleaseRenderscript NO-SOURCE
> Task :app:generateReleaseBuildConfig
> Task :app:javaPreCompileRelease
> Task :app:writeReleaseApplicationId
> Task :app:analyticsRecordingRelease
> Task :app:generateReleaseResValues
> Task :app:generateReleaseResources
> Task :app:createReleaseCompatibleScreenManifests
> Task :app:extractDeepLinksRelease
> Task :app:mergeReleaseJniLibFolders
> Task :app:mergeReleaseShaders
> Task :app:compileReleaseShaders NO-SOURCE
> Task :app:generateReleaseAssets UP-TO-DATE
> Task :cropper:packageReleaseResources
> Task :cropper:extractDeepLinksRelease
> Task :cropper:processReleaseManifest
> Task :cropper:generateReleaseBuildConfig
> Task :cropper:javaPreCompileRelease
> Task :cropper:processReleaseJavaRes NO-SOURCE
> Task :cropper:bundleLibResRelease NO-SOURCE
> Task :cropper:mergeReleaseJniLibFolders
> Task :cropper:mergeReleaseNativeLibs NO-SOURCE
> Task :cropper:stripReleaseDebugSymbols NO-SOURCE
> Task :cropper:copyReleaseJniLibsProjectOnly
> Task :cropper:mergeReleaseShaders
> Task :cropper:compileReleaseShaders NO-SOURCE
> Task :cropper:generateReleaseAssets UP-TO-DATE
> Task :cropper:packageReleaseAssets
> Task :cropper:parseReleaseLocalResources
> Task :cropper:generateReleaseRFile
> Task :app:checkReleaseDuplicateClasses FAILED
> Task :cropper:compileReleaseJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
> Task :app:checkReleaseAarMetadata
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:checkReleaseDuplicateClasses'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
> Duplicate class com.googlecode.leptonica.android.AdaptiveMap found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Binarize found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Box found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Boxa found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Clip found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Constants found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Constants$SortBy found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Constants$SortOrder found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Constants$StorageFlag found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Convert found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Edge found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Edge$EdgeOrientationFlag found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Enhance found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.GrayQuant found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.JpegIO found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.MorphApp found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.MorphApp$TophatType found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Pix found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Pix$ImageFileFormat found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Pix$ImageFileFormat$Format found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Pixa found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Pixa$1 found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Pixa$PixIterator found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.ReadFile found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Rotate found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Scale found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Scale$1 found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Scale$ScaleType found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Skew found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.WriteFile found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.tesseract.android.PageIterator found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.tesseract.android.ResultIterator found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.tesseract.android.TessBaseAPI found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.tesseract.android.TessBaseAPI$OcrEngineMode found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.tesseract.android.TessBaseAPI$PageIteratorLevel found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.tesseract.android.TessBaseAPI$PageIteratorLevel$Level found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.tesseract.android.TessBaseAPI$PageSegMode found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.tesseract.android.TessBaseAPI$PageSegMode$Mode found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.tesseract.android.TessBaseAPI$ProgressNotifier found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.tesseract.android.TessBaseAPI$ProgressValues found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.tesseract.android.TessPdfRenderer found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class cz.adaptech.android.tesseract4android.BuildConfig found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Go to the documentation to learn how to <a href="d.android.com/r/tools/classpath-sync-errors">Fix dependency resolution errors</a>.
* Try:
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.
* Get more help at https://help.gradle.org
BUILD FAILED in 24s
26 actionable tasks: 26 executed
2022-02-22 12:19:41,796 DEBUG: Popen(['git', 'cat-file', '--batch-check'], cwd=/home/vagrant/build/io.github.subhamtyagi.ocr, universal_newlines=False, shell=None)
2022-02-22 12:19:41,801 ERROR: Could not build app io.github.subhamtyagi.ocr: Build failed for io.github.subhamtyagi.ocr:3.1@6b11328236ceec0507f4a7d03ae89ec80d7a9c37
==== detail begin ====
Found 6.7.1 via distributionUrl
Running /opt/gradle/versions/6.7.1/bin/gradle assembleRelease
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/6.7.1/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing
> Configure project :app
WARNING:: The option setting 'android.nonTransitiveRClass=true' is experimental.
The current default is 'false'.
File /home/vagrant/.android/repositories.cfg could not be loaded.
Checking the license for package Android SDK Build-Tools 30.0.2 in /opt/android-sdk/licenses
License for package Android SDK Build-Tools 30.0.2 accepted.
Preparing "Install Android SDK Build-Tools 30.0.2 (revision: 30.0.2)".
"Install Android SDK Build-Tools 30.0.2 (revision: 30.0.2)" ready.
Installing Android SDK Build-Tools 30.0.2 in /opt/android-sdk/build-tools/30.0.2
"Install Android SDK Build-Tools 30.0.2 (revision: 30.0.2)" complete.
"Install Android SDK Build-Tools 30.0.2 (revision: 30.0.2)" finished.
Checking the license for package Android SDK Platform 31 in /opt/android-sdk/licenses
License for package Android SDK Platform 31 accepted.
Preparing "Install Android SDK Platform 31 (revision: 1)".
"Install Android SDK Platform 31 (revision: 1)" ready.
Installing Android SDK Platform 31 in /opt/android-sdk/platforms/android-31
"Install Android SDK Platform 31 (revision: 1)" complete.
"Install Android SDK Platform 31 (revision: 1)" finished.
> Task :app:preBuild UP-TO-DATE
> Task :cropper:preBuild UP-TO-DATE
> Task :cropper:preReleaseBuild UP-TO-DATE
> Task :cropper:compileReleaseAidl NO-SOURCE
> Task :cropper:packageReleaseRenderscript NO-SOURCE
> Task :cropper:compileReleaseRenderscript NO-SOURCE
> Task :app:extractProguardFiles
> Task :app:preReleaseBuild
> Task :cropper:generateReleaseResValues
> Task :cropper:generateReleaseResources
> Task :app:compileReleaseAidl NO-SOURCE
> Task :cropper:writeReleaseAarMetadata
> Task :app:compileReleaseRenderscript NO-SOURCE
> Task :app:generateReleaseBuildConfig
> Task :app:javaPreCompileRelease
> Task :app:writeReleaseApplicationId
> Task :app:analyticsRecordingRelease
> Task :app:generateReleaseResValues
> Task :app:generateReleaseResources
> Task :app:createReleaseCompatibleScreenManifests
> Task :app:extractDeepLinksRelease
> Task :app:mergeReleaseJniLibFolders
> Task :app:mergeReleaseShaders
> Task :app:compileReleaseShaders NO-SOURCE
> Task :app:generateReleaseAssets UP-TO-DATE
> Task :cropper:packageReleaseResources
> Task :cropper:extractDeepLinksRelease
> Task :cropper:processReleaseManifest
> Task :cropper:generateReleaseBuildConfig
> Task :cropper:javaPreCompileRelease
> Task :cropper:processReleaseJavaRes NO-SOURCE
> Task :cropper:bundleLibResRelease NO-SOURCE
> Task :cropper:mergeReleaseJniLibFolders
> Task :cropper:mergeReleaseNativeLibs NO-SOURCE
> Task :cropper:stripReleaseDebugSymbols NO-SOURCE
> Task :cropper:copyReleaseJniLibsProjectOnly
> Task :cropper:mergeReleaseShaders
> Task :cropper:compileReleaseShaders NO-SOURCE
> Task :cropper:generateReleaseAssets UP-TO-DATE
> Task :cropper:packageReleaseAssets
> Task :cropper:parseReleaseLocalResources
> Task :cropper:generateReleaseRFile
> Task :app:checkReleaseDuplicateClasses FAILED
> Task :cropper:compileReleaseJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
> Task :app:checkReleaseAarMetadata
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:checkReleaseDuplicateClasses'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
> Duplicate class com.googlecode.leptonica.android.AdaptiveMap found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Binarize found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Box found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Boxa found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Clip found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Constants found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Constants$SortBy found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Constants$SortOrder found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Constants$StorageFlag found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Convert found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Edge found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Edge$EdgeOrientationFlag found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Enhance found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.GrayQuant found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.JpegIO found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.MorphApp found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.MorphApp$TophatType found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Pix found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Pix$ImageFileFormat found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Pix$ImageFileFormat$Format found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Pixa found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Pixa$1 found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Pixa$PixIterator found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.ReadFile found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Rotate found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Scale found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Scale$1 found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Scale$ScaleType found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.Skew found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.leptonica.android.WriteFile found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.tesseract.android.PageIterator found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.tesseract.android.ResultIterator found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.tesseract.android.TessBaseAPI found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.tesseract.android.TessBaseAPI$OcrEngineMode found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.tesseract.android.TessBaseAPI$PageIteratorLevel found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.tesseract.android.TessBaseAPI$PageIteratorLevel$Level found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.tesseract.android.TessBaseAPI$PageSegMode found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.tesseract.android.TessBaseAPI$PageSegMode$Mode found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.tesseract.android.TessBaseAPI$ProgressNotifier found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.tesseract.android.TessBaseAPI$ProgressValues found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class com.googlecode.tesseract.android.TessPdfRenderer found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Duplicate class cz.adaptech.android.tesseract4android.BuildConfig found in modules jetified-tesseract4android-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android:4.1.0) and jetified-tesseract4android-openmp-4.1.0-runtime (cz.adaptech.tesseract4android:tesseract4android-openmp:4.1.0)
Go to the documentation to learn how to <a href="d.android.com/r/tools/classpath-sync-errors">Fix dependency resolution errors</a>.
* Try:
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.
* Get more help at https://help.gradle.org
BUILD FAILED in 24s
26 actionable tasks: 26 executed
==== detail end ====
2022-02-22 12:19:41,809 DEBUG: Error encoutered, stopping by user request.
==== detail end ====