Skip to content

Not working when Dagger is also in app? #142

@phundal209

Description

@phundal209

Hi, I have Dagger in my app and added Dart and Henson as such:

//Dart
compile 'com.f2prateek.dart:dart:2.0.1'
provided 'com.f2prateek.dart:dart-processor:2.0.1'
//Henson
compile 'com.f2prateek.dart:henson:2.0.1'
annotationProcessor 'com.f2prateek.dart:henson-processor:2.0.1'

compile 'com.google.dagger:dagger:2.0.1'
compile 'javax.annotation:jsr250-api:1.0'
apt "com.google.dagger:dagger-compiler:2.0.1"

When I run the app I get an error:

Error:(15, 39) error: cannot find symbol class DaggerApplicationComponent

All I have added is Dart.inject(this) in one of my activities with a few extras injected. Is the gradle off or does this library not play well with Dagger?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions