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

AS 可以打印出 javax.annotation.processing.Messager 的日志吗,我废了很大劲还是看不到这个日志信息,请问你是怎么显示出来的,谢谢! #5

Open
leeGYPlus opened this issue Jul 9, 2018 · 6 comments

Comments

@leeGYPlus
Copy link

No description provided.

@lizhaoxuan
Copy link
Owner

日志在Messages里

@lizhaoxuan
Copy link
Owner

哦~新版AS好像没有Messages窗口了,Build窗口看下

@leeGYPlus
Copy link
Author

我确实在新版 AS 里面找不到这个窗口了,看不到相应的日志岂不是没办法印证一些相应的想法。

@lizhaoxuan
Copy link
Owner

Build窗口可以,另外在Terminal窗口用./gradlew 命令build项目,Terminal窗口也可以看到日志。最后还有最笨的办法,用System.out.print 打日志

@leeGYPlus
Copy link
Author

我主要想看的日志内容为: 注解处理器里面关于相关注解类的消息。对应的代码在 apt 的 jar ,你说的几种方法自己也都试过,不过还是看不到相应的信息,难道AS真的去掉这部分功能了?

@popchina
Copy link

我也看不到输出,但是demo就可以。感觉是跟java版本有关

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

3 participants