Closed mtzqc closed 1 year ago
用的是 KSP 还是 KAPT
id "com.google.devtools.ksp" version '1.8.20-1.0.11' apply false
jdk也切换成非android studio自带的17,控制台输出一切正常,就是生成的路由为空
TheRouter编译插件:cn.therouter:plugin:1.2.0-rc1 当前编译 JDK Version 为::11.0.15 本次是增量编译::false ksp 版本1.9.10-1.0.13 也有这个问题 试过 1.1.4 router 版本也有这个问题
app/src/main/assets/therouter/routerMap.json 这个文件倒是有更新,但是编译后打包的apk里面没有这个文件
希望cn.therouter.agp8后续版本号尽量统一一下
已更新,可从mavenCentral
官网地址查阅版本号,镜像仓库可能会延迟同步
https://repo.maven.apache.org/maven2/cn/therouter/
可以正常生成路由了
1.2.0-rc4
发现ActionManager
有线程安全问题,请使用1.2.0-rc5
可以生成routeMap.json文件,但是json文件为空数组,之前都是正常的,以为是今天修改了配置,回退之前的正常的git版本还是一样。会正常生成ServiceProvider__TheRouter___xxxx文件,把上一个版本的routeMap.json复制进去可以正常运行,但是新添加的@Route不会自动添加到路由表,版本1.2.0-rc1,1.2.0-rc2都是这样