Code Monkey home page Code Monkey logo

Comments (3)

Sloaix avatar Sloaix commented on May 20, 2024

ApolloBinderGeneratorImpl类是编译时生成的,估计是没有生成成功,看看哪里报错了,或者clean一下再run一次。
image

注意,@receive修饰的方法要是public。

from apollo.

zhanghuanWang avatar zhanghuanWang commented on May 20, 2024

错误大概是这样
错误: 程序包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.

Sloaix avatar Sloaix commented on May 20, 2024

要在gradle console才看到的编译时的报错信息。

你也可以在terminal命令行

gradle build --stacktrace

看一下堆栈信息。应该是你配置有问题。

确保一定要在初始化前有Bind操作的代码,以及一个被@receive修饰的方法的代码存在。

如果没有一个@receive存在的话,注解处理器是没办法生成ApolloBinderGeneratorImpl的

from apollo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.