kezong / fat-aar-android

A gradle plugin that merge dependencies into the final aar file works with AGP 3.+

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Could not expand ZIP 'D:\xx\classes.jar'.

QiuShanwen opened this issue · comments

commented

Describe the issue
在使用打aar的时候报错,module依赖有aar包,然后一直打包不成功,提示Could not expand ZIP 'D:\xx\classes.jar'.
我配置的方式:
1.classpath 'com.github.kezong:fat-aar:1.3.8'
2.apply plugin: 'com.kezong.fat-aar'
3.embed project(path: ':lib-xx',configuration: 'default')

这个lib-xx是我在项目配置的aar,开始是放在module的libs目录里的,报错Could not expand ZIP,后面把aar放到module外面在搭配一个build.gradle方式依赖,也是报这个错误。

Build Environment

  • Operating System: Windows 10
  • Gradle Plugin Version: 4.2.2
  • Gradle Version: 6.7.1
  • Fat-aar Version: 1.3.8