Archive is not a ZIP archive


(Pankaj Sharma) #1

I am trying to use an aar file. It says Build failed.

it gives me this
Caused by: java.util.zip.ZipException: archive is not a ZIP archive
at org.apache.tools.zip.ZipFile.positionAtEndOfCentralDirectoryRecord(ZipFile.java:771)
at org.apache.tools.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:707)
at org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:452)
at org.apache.tools.zip.ZipFile.(ZipFile.java:214)
at org.apache.tools.zip.ZipFile.(ZipFile.java:190)
at org.apache.tools.zip.ZipFile.(ZipFile.java:150)
at org.gradle.api.internal.file.archive.ZipFileTree.visit(ZipFileTree.java:75)
… 62 more