You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.
It is impossible to build a project with v1.5.3 dependancy as it fails as follows:
From Gradle sync (gradle:3.0.0-beta4'):
Unable to resolve dependency for ':app@debug/compileClasspath': Failed to transform file 'facerecognitionlibrary-1.5.3.aar' to match attributes {artifactType=android-exploded-aar} using transform ExtractAarTransform
Failed to transform file 'facerecognitionlibrary-1.5.3.aar' to match attributes {artifactType=android-exploded-aar} using transform ExtractAarTransform
java.io.EOFException: Unexpected end of ZLIB input stream
> Unexpected end of ZLIB input stream
I even downgraded Gradle to stable gradle:2.3.3 and it still has a problem with extracting v1.5.3 arr:
Error:Execution failed for task ':app:prepareChZhawFacerecognitionlibrary153Library'.
Unable to unzip 'C:....gradle\caches\modules-2\files-2.1\ch.zhaw\facerecognitionlibrary\1.5.3...\facerecognitionlibrary-1.5.3.aar' to ...
I cleared Gradle caches as well as project build multiple times, forced it to re-download dependencies & I still get this error. I tried to unzip the arr myself with the same result & a bit more debug info:
Headers Error
Unconfirmed start of archive
Warnings:
There are some data after the end of the payload data
CRC failed: assets\optimized_facenet.pb
Published v1.5.3 arr seems to be corrupted.
PS: I had no problems building with v1.5.4 utilizing older & newer Gradle as well as AS.
[UPDATE] Dependency v1.5.2 doesn't have this problem either, but lacks other fixes & build fails when it comes to NDK, so downgrading to v1.5.2 isn't an option either:
Error:Execution failed for task ':app:transformNativeLibsWithMergeJniLibsForDebug'.
More than one file was found with OS independent path 'lib/arm64-v8a/libopencv_java3.so'
The text was updated successfully, but these errors were encountered:
Hi @sladomic,
yes I've tried it with your demo project as you just described.
For dependency v1.5.3 I always had aforementioned result (tried with older & newer Gradle plugin and AS). Downloaded arr seems corrupted for an external zip tool as well (I used 7-Zip).
I even tried File --> Invalidate caches / restart & Build --> Clean Project with the same result, multiple times.
As already mentioned, I had no such problem with v1.5.2 as well as v1.5.4.
Regards,
Miro
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It is impossible to build a project with v1.5.3 dependancy as it fails as follows:
From Gradle sync (gradle:3.0.0-beta4'):
Unable to resolve dependency for ':app@debug/compileClasspath': Failed to transform file 'facerecognitionlibrary-1.5.3.aar' to match attributes {artifactType=android-exploded-aar} using transform ExtractAarTransform
Failed to transform file 'facerecognitionlibrary-1.5.3.aar' to match attributes {artifactType=android-exploded-aar} using transform ExtractAarTransform
I even downgraded Gradle to stable gradle:2.3.3 and it still has a problem with extracting v1.5.3 arr:
Error:Execution failed for task ':app:prepareChZhawFacerecognitionlibrary153Library'.
I cleared Gradle caches as well as project build multiple times, forced it to re-download dependencies & I still get this error. I tried to unzip the arr myself with the same result & a bit more debug info:
Headers Error
Unconfirmed start of archive
Warnings:
There are some data after the end of the payload data
CRC failed: assets\optimized_facenet.pb
Published v1.5.3 arr seems to be corrupted.
PS: I had no problems building with v1.5.4 utilizing older & newer Gradle as well as AS.
[UPDATE] Dependency v1.5.2 doesn't have this problem either, but lacks other fixes & build fails when it comes to NDK, so downgrading to v1.5.2 isn't an option either:
Error:Execution failed for task ':app:transformNativeLibsWithMergeJniLibsForDebug'.
The text was updated successfully, but these errors were encountered: