Closed realchenzhi closed 2 years ago
再 run 还是一样报错
报错太多了,有点奇怪。 agp 4.0.1 gradle 6.1.1
第二次clean后build就会报错了。 另外我的使用RocktX的方式,在build.gradle(app)下添加了
apply plugin: 'com.rocketx'
然后开启小火箭插件才有效(.gradle下有缓存),文档好像没有写到这个apply
是的需要加入 apply plugin: 'com.rocketx' ,后面我再文档上补一下。
报错太多了,有点奇怪。 agp 4.0.1 gradle 6.1.1
voice 的 build.gradle 方便看一下吗?(关闭 rockectx 是可以编译过去的吗?)
@realchenzhi 看样子好像是 资源链接的问题?gradle sync 一下再编译
gradle sync 还是会有问题,看起来只有app模块对其他模块的引用资源会报错。 @trycatchx
@realchenzhi 我在 demo 中,使用 app module 引用 projectC 的 资源目前没有发现问题。
@realchenzhi 你看下能找到导致这个问题的具体原因不。目前我也在自家的大型项目运行通过。app 模块也会依赖 comm module 的一些资源。运行正常
第二次clean后build就会报错了。 另外我的使用RocktX的方式,在build.gradle(app)下添加了
然后开启小火箭插件才有效(.gradle下有缓存),文档好像没有写到这个apply