android compile error zip END header not found

Yesterday, I finished building the project and pushed it to GIT. I was very happy when I got home from work.
Today I came to the company to import the jar and continued to write code, thinking it was normal. However, during installation, this error zip END header not found
was reported. Yesterday, it was still normal. Black question mark face? ? ? ?

错误: 无法访问com.XXX.XXX
package com.xxx.xxx;
^
  zip END header not found

Insert image description here
clean --rebuid has no results.
Invalidate Caches / Restart has no results.
Deleting the project cache folder has no results.
Baidu basically talks about the gradle version problem.
Check my gradle and there is no problem.
Downgrading gradle has no results.
Finally, rebuild the project bit by bit
. The result of compiling and running is that
when I put in the jar package, the compilation will report this error. There are
three jars in total. I eliminated them one by one and found the problematic jar package. I went
to the resource manager and double-clicked it and it could not be opened.
Insert image description here
I found the problem and asked someone to replace it with a new one.

Guess you like

Origin blog.csdn.net/qq_39178733/article/details/131845444