-
Notifications
You must be signed in to change notification settings - Fork 227
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
无法识别 路由咋回事 #64
Comments
是否忘记在build.gradle中传入注解处理器的参数? 可以参考下demo的配置 android {
defaultConfig {
...
javaCompileOptions {
annotationProcessorOptions {
arguments = ["moduleName": project.name]
}
}
}
} |
两个地方都加了 一个在 依赖的lib 一个在 app 里面加了 javaCompileOptions { |
lib 名字叫 easeui 主工程module 名字就叫app |
studio 是 3.0 没有使用butterknife或者lambda |
折腾你这 个 sdk 一下午了 还是不行 |
支持任意版本,你可以跑一下demo看看,也可以加群,贴图解答 |
我这是什么情况? |
编译过程和初始化过程都有log,我现在没法分析,可以加群贴上log看看 |
Can not find an Activity that matches the given uri: cartondetail 这是log |
There is no InterceptorTable in module: app. |
我知道啥问题了,我也遇到了同样的问题,你在settings.gradle中添加你的所有的module,include ':app', ':easeui';然后还要在app的build.gradle中compile compile project(':easeui'),然后应该就行了,我也是这个问题,解决了 |
Router.initialize(new Configuration.Builder()
.setDebuggable(BuildConfig.DEBUG)
.registerModules("app", "easeui")
.build());
2.给Acitivity 添加注解
@route("cartondetail")
3.在一个工具类里面跳转
Intent intent = Router.build("cartondetail").getIntent(context);
intent.putExtra("feed_id", id);
context.startActivity(intent);
有什么问题吗? 为什么找不到这个路由呢?
The text was updated successfully, but these errors were encountered: