可以看一下我提的这个 pr,本地自测,是可以解决这个问题了。最根本的原因是 增量编译的情况下, transfrom input 和 output 的文件路径是一样的,导致读写冲突,jar 包大小变为 0. https://github.com/Tencent/matrix/pull/661 _Originally posted by @gdutxiaoxu in https://github.com/Tencent/matrix/issues/592#issuecomment-958950250_