Open mkosik opened 6 years ago
Hi @mkosik
I just tried the following:
How are you using the library? Do you import it in another project?
Regards, Michael
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
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'.