Comments (5)
+1 @mzule
from activityrouter.
你的 butterknife 使用的官方的 AnnotationProcessor 吗?可能与 apt 之间有冲突,需要做一下改动,使用官方的 AnnotationProcessor 来处理 ActivityRouter.
根目录 build.gradle 相关的配置不再需要了,直接删掉。
项目的 build.gradle 相关配置简化成如下。
dependencies {
compile 'com.github.mzule.activityrouter:activityrouter:1.2.2'
annotationProcessor 'com.github.mzule.activityrouter:compiler:1.1.7'
}
如果你确定成功了,我会在 readme 里面补充一下说明。或者欢迎给我提 PR.
from activityrouter.
嗯..这样就可以用了..谢谢!
from activityrouter.
确实存在这个问题,和ButterKnife冲突,请有时间更新一下readmine
另:这个配置是应该在项目的每一个module都进行配置的吧,包括主module
dependencies {
compile 'com.github.mzule.activityrouter:activityrouter:1.2.2'
annotationProcessor 'com.github.mzule.activityrouter:compiler:1.1.7'
}
from activityrouter.
谢谢提醒,我待会就改 readme, 另外不是和 ButterKnife 冲突,是官方的 annotationProcessor 和 apt 不能共用。
是否需要在所有 module 配置这个要看需求。
from activityrouter.
Related Issues (20)
- 不支持activity之间intent透传
- 无法进行复杂数据类型传递,譬如ArrayList等 HOT 2
- ActivityRouter实现原理
- ActivityRouter原理 HOT 2
- ActivityRouter实现原理
- RouterInit NotFound HOT 2
- 当activity为singtask模式时的问题
- 多模块需要主模块依赖其他子模块?
- 是否还会维护? HOT 2
- 是否还会维护
- url address contains “&” HOT 2
- 含有“#”的链接后面拦截问题; HOT 1
- 使用annotationProcessor 这个无法多module跳转
- 可以从自己 app 的 webview 跳到自己的 activity 吗?
- 多地址转换
- RouterInit错误 HOT 3
- url参数搞不定? HOT 1
- 没有搞懂怎么引入 HOT 1
- android x的适配 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 activityrouter.