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

Don't work in with dagger2 written by kotlin #23

Open
ghost opened this issue Apr 19, 2016 · 7 comments
Open

Don't work in with dagger2 written by kotlin #23

ghost opened this issue Apr 19, 2016 · 7 comments

Comments

@ghost
Copy link

ghost commented Apr 19, 2016

Hi, I find that this don't work when dagger2 written by kotlin. Is it a bug? Or my problems?

@williamwebb
Copy link
Contributor

Can you provide an example project? Or the error you are seeing?

@ghost
Copy link
Author

ghost commented Apr 20, 2016

https://github.com/zengzhihao/CNodeClient
Above is my project, when I install apk, dagger2 shows no data.
It works before I modify di's impl from java to kotlin.

@williamwebb
Copy link
Contributor

Ah OK now i understand. This comes from the way the plugin works. But basically what is happening is the kotlin generates files are not generates at the time the plugin runs, so it doesn't make the modifications it needs to make. I would suggest opening up another issue for the plugin to support the new transform API. Using the transform API will fix this issue and bring the plugin more inline with official standards.

In the new issue please reference this one.

@lenguyenthanh
Copy link

How is it going? I face this problem too :( I doesn't work for activity metrics too. It shows:
device-2016-05-12-143307

@A-Zaiats
Copy link

Kotlin has some problem with AOP. It is a known problem now. And thi plugin can helps.

@kuhnroyal
Copy link

I am interested in this, what is needed to make this work?

@gallal
Copy link

gallal commented Aug 7, 2017

Hey - are there any plans to make this compatible with Koltin or will this issue be closed as a no-fix?

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

5 participants