Comments (3)
ApolloBinderGeneratorImpl类是编译时生成的,估计是没有生成成功,看看哪里报错了,或者clean一下再run一次。
注意,@receive修饰的方法要是public。
from apollo.
错误大概是这样
错误: 程序包com.lsxiao.apollo.generate不存在
import com.lsxiao.apollo.generate.ApolloBinderGeneratorImpl;
^
1 个错误
FAILED
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':app:compileBetaDebugJavaWithJavac'.
Compilation failed; see the compiler error output for details.
from apollo.
要在gradle console才看到的编译时的报错信息。
你也可以在terminal命令行
gradle build --stacktrace
看一下堆栈信息。应该是你配置有问题。
确保一定要在初始化前有Bind操作的代码,以及一个被@receive修饰的方法的代码存在。
如果没有一个@receive存在的话,注解处理器是没办法生成ApolloBinderGeneratorImpl的
from apollo.
Related Issues (20)
- [Dependencies] RxJava Update ? HOT 2
- Unresolved reference: ApolloBinderGeneratorImpl HOT 2
- java.lang.NoClassDefFoundError HOT 4
- 问题请教 HOT 2
- 你好我在集成的时候出现问题 HOT 1
- 第一次使用发现,在emit上面的代码能够执行,emit后的代码不会执行 HOT 3
- kotlin项目可以正常使用吗? HOT 1
- 代码混淆问题 HOT 1
- 编译时没有生成绑定代码 HOT 9
- Apollo.bind()可以任意类里面绑定和解绑嘛? HOT 1
- 发送事件无效 HOT 5
- Propose Logo HOT 1
- app和library里使用@Receive注解,会生成两个相同的ApolloBinderGeneratorImpl,导致编译错误 HOT 3
- bind可以写在父类里面吗
- 在多module,module里面不能Receive,只有在app里面可以Receive HOT 1
- 多次接受消息
- :(Need Maintainers
- 闪退
- 依赖写在library无法收到事件
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 apollo.