RocketX
RocketX copied to clipboard
🔥🔥 android 端编译加速插件🚀 动态识别未改动 module 并在编译流程中替换为 aar ,只编译改动模块,加速 Android apk 的编译速度。
**crash log:** ``` No static field mineEntity3 of type I in class Lcom/xxx/xxx/BR; or its superclasses (declaration of 'com.xxx.xxx.BR' appears in /data/app/com.xxx.xxx-gaZwgXnV8Bo9TEjryZesXw==/base.apk!classes25.dex) ``` **description:** a.xml includes b.xml which is in...
步骤: 1、开启插件,第一次跑没问题 2、再跑一次报错,报错如下图所示,项目没有设置org.gradle.configureondemand = true 
环境: mac os gradle plugin:7.4.1 gradle:7.5 项目中有很多aar,在子模块引入。我把aar都放在根目录/LocalRepo/下,如下 LocalRepo - FaceSdk - build.gradle - facesdk.aar - BuySdk - build.gradle - buysdk.aar 依赖情况如下: module basefeature依赖facesdk和module data implementation(project(":core:data")) implementation(project(":LocalRepo:FaceSdk")) module data依赖buysdk api(project(":LocalRepo:BuySdk")) 只改动了basefeature里的一行代码,编译报错,找不到aar...
使用 includeBuild 的项目,rootProject.allProject 拿不到 includeBuild 的子项目。
 代码上看这里会判断 rocketXEnable 文件是否存在,只有在装了 as 插件的时候点 enable 才会有这个文件,不装插件或者 CI 环境就没法用了。
1. 背景:项目是老项目,没有适配androidX 2. 问题:使用rocketX插件编译不了 3. 编译错误详情 ``` > This project uses AndroidX dependencies, but the 'android.useAndroidX' property is not enabled. Set this property to true in the gradle.properties file and...
针对 Flutter 项目需要额外的处理吗,首次编译通过后,更改代码后再编译出现如下问题:修改了其他库代码,未修改flutter代码 ` Type EventBus$1 is defined multiple times: kxx/app/build/intermediates/mixed_scope_dex_archive/productDebug/out/313c03228958fa597e67e1d693a640788fab4a55c133fba923e8d1a4b618e4b6_1.jar:classes.dex, kxx/app/build/intermediates/mixed_scope_dex_archive/productDebug/out/660e02fccb1de8dd62024f4e55c7bdbaea7d4de2b731e9a91f106610e21235e8_1.jar:classes.dex `
Caused by: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed