ActivityRouter icon indicating copy to clipboard operation
ActivityRouter copied to clipboard

RouterInit错误

Open CodeMAI opened this issue 7 years ago • 3 comments

Failed resolution of: Lcom/github/mzule/activityrouter/router/RouterInit 请问这个是什么原因?

CodeMAI avatar Nov 02 '18 05:11 CodeMAI

+1

jimmysuncpt avatar May 28 '19 06:05 jimmysuncpt

+1, asking for help the error is as following: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/github/mzule/activityrouter/router/RouterInit; …… java.lang.ClassNotFoundException: Didn't find class "com.github.mzule.activityrouter.router.RouterInit" on path: DexPathList

chennyshan avatar Aug 04 '19 15:08 chennyshan

在compiler包下,main目录下,创建resources/META-INF/services/javax.annotation.processing.Processor 文件,文件内容为com.github.mzule.activityrouter.compiler.RouterProcessor。然后重新打包就ok了,可以了解下注解处理器

caihuanjian avatar May 29 '20 10:05 caihuanjian