ActivityRouter
ActivityRouter copied to clipboard
RouterInit错误
Failed resolution of: Lcom/github/mzule/activityrouter/router/RouterInit 请问这个是什么原因?
+1
+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
在compiler包下,main目录下,创建resources/META-INF/services/javax.annotation.processing.Processor 文件,文件内容为com.github.mzule.activityrouter.compiler.RouterProcessor。然后重新打包就ok了,可以了解下注解处理器