Comments (4)
覆盖是指覆盖安装么? 另外麻烦贴一下详细的错误信息;
理论上LogisticsCenter.init是用来Arouter初始化的;如果代码生成正确,应该是不会影响的;
public synchronized static void init(Context context, ThreadPoolExecutor tpe) throws HandlerException {
mContext = context;
executor = tpe;
try {
long startInit = System.currentTimeMillis();
//load by plugin first
loadRouterMap();
if (registerByPlugin) {
logger.info(TAG, "Load router map by arouter-auto-register plugin.");
} else {
Set<String> routerMap;
// It will rebuild router map every times when debuggable.
if (ARouter.debuggable() || PackageUtils.isNewVersion(context)) {
/**
* arouter-auto-register plugin will generate code inside this method
* call this method to register all Routers, Interceptors and Providers
*/
private static void loadRouterMap() {
registerByPlugin = false;
// auto generate register code by gradle plugin: arouter-auto-register
// looks like below:
// registerRouteRoot(new ARouter..Root..modulejava());
// registerRouteRoot(new ARouter..Root..modulekotlin());
}
from arouterkspcompiler.
之前用的kapt,现在用的ksp 但版本号没变,这种情况下就会出现以下错误
Caused by: com.alibaba.android.arouter.exception.HandlerException: ARouter::ARouter init logistics center exception! [com.alibaba.android.arouter.routes.ARouter$$Providers$$app]
at com.alibaba.android.arouter.core.LogisticsCenter.init(SourceFile:429)
at com.alibaba.android.arouter.launcher._ARouter.o(SourceFile:8)
at com.alibaba.android.arouter.launcher.ARouter.init(SourceFile:16)
at com.zlcdgroup.mrmsei.BaseApp.onCreate(SourceFile:15)
at com.zlcdgroup.mrmsei.Hilt_App.onCreate(SourceFile:4)
at com.zlcdgroup.mrmsei.App.onCreate(SourceFile:1)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1225)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:8583)
at android.app.ActivityThread.access$2800(ActivityThread.java:311)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2889)
at android.os.Handler.dispatchMessage(Handler.java:117)
at android.os.Looper.loopOnce(Looper.java:205)
at android.os.Looper.loop(Looper.java:293)
at android.app.ActivityThread.loopProcess(ActivityThread.java:9934)
at android.app.ActivityThread.main(ActivityThread.java:9923)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:586)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1240)
from arouterkspcompiler.
应该是要升级下版本号,重新把缓存重置下就可以了。我后面试下
from arouterkspcompiler.
应该是要升级下版本号,重新把缓存重置下就可以了。我后面试下
好的,有问题可以继续反馈哈
from arouterkspcompiler.
Related Issues (14)
- 能支持AGP7.3吗? HOT 1
- 使用withStringArrayList在接收参数地方会出现One type argument expected for typealias ArrayList<E> = ArrayList<E> HOT 7
- 大佬啥时候kt升到1.8.10啊 HOT 2
- withStringArrayList传参接收不到... HOT 4
- 能支持下java11么? HOT 9
- [ksp] No providers found in processor classpath HOT 2
- 在泛型类使用 @Autowired 注解编译报错 HOT 2
- ksp 最新版本 HOT 17
- 请教一下作者 HOT 5
- 为什么会有kotlin1.7.22这个版本 HOT 1
- Type in a class literal must not be nullable HOT 10
- jump到SecondActivtiy就闪退 HOT 1
- 支持KSP 1.9.22-1.0.17 吗 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arouterkspcompiler.