Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RouterInit错误 #89

Open
CodeMAI opened this issue Nov 2, 2018 · 3 comments
Open

RouterInit错误 #89

CodeMAI opened this issue Nov 2, 2018 · 3 comments

Comments

@CodeMAI
Copy link

CodeMAI commented Nov 2, 2018

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

@jimmysuncpt
Copy link

+1

@chennyshan
Copy link

+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

@caihuanjian
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants