DRouter icon indicating copy to clipboard operation
DRouter copied to clipboard

为什么忽略了 android test task 呀,这导致项目使用 make project 无法编译过

Open lxzh opened this issue 1 year ago • 2 comments

报错信息:

[Wrong message ...]
javassist.NotFoundException: com.didi.drouter.store.MetaLoader
	at javassist.ClassPool.get(ClassPool.java:430)
...
Please first make sure plugin-version 1.3.5(current) >= null(min support)
Any question you can call "GaoWei" from weixin "gwball"
:app:transformClassesAndResourcesWithDRouterForOverseaFourDebugAndroidTest took 201ms

相关源码在 RouterTransform

if (!dest.path.contains("/DRouter/androidTest/")) {
    (new RouterTask(project, compilePath, cachePathSet, useCache, dest, tmpDir, setting, isWindow)).run()
    FileUtils.writeLines(cacheFile, cachePathSet)
} else {
    Logger.w("Ignore android test task")
}

lxzh avatar Nov 25 '24 16:11 lxzh

https://github.com/didi/DRouter/issues/78 跟我这个类似吗?后来怎么解决的

wangqing2688 avatar Jun 16 '25 02:06 wangqing2688

是类似的,我们把项目里面的 androidTest 代码临时干掉了 -_-||

lxzh avatar Jun 16 '25 07:06 lxzh