question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Henson doesn't seem work with 2 activities (or more)

See original GitHub issue

Using one activity annotated with HensonNavigable works fine. When adding a second activity, with this annotation, I’m getting compilation errors, see them below. I’m using henson and henson-processor 2.0.1.

I’m not using any InjectExtra annotations.

Error:(40, 8) error: Unable to write henson navigator for types com.examble.app.ui.login.Activity1: Illegal name com.examble.app.ui..Henson Error:(18, 8) error: Unable to write henson navigator for types com.examble.app.ui.tips.Activity2: Illegal name com.examble.app.ui..Henson

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
stephanenicolascommented, Nov 19, 2016

You should not let henson find the package where it should generate the Henson class.

Instead, use the annotation processor option : “dart.henson.package” “your.package.name”

The wiki explains how to do it with gradle and the apt plugin.

2016-11-17 21:27 GMT+01:00 Buttink notifications@github.com:

I have this same issue as well. I was looking at the code and couldn’t figure out what was causing this. the only thing I could easily see to check was if it was mistaking the class as abstract, but doing just a plain old java object didn’t fix that.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/f2prateek/dart/issues/136#issuecomment-261359873, or mute the thread https://github.com/notifications/unsubscribe-auth/ABv33fiWlN8iUCfeYTMzSek5AlWLTZ80ks5q_LidgaJpZM4Kyp_m .

0reactions
TakeoffAndroidcommented, Oct 12, 2017

@stephanenicolas @dlemures "dart.henson.package" "your.package.name" - This your.package.name should be a package name of destination class (@HensorNavigable, Dart.inject(this)) or receiving class (Henson.with(this).goto…) ?. You have mentioned it in the docs, but some how wrong import is auto generated with some random class names that is actually not required for the class. Please help me. I am in super urgency to solve this issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

Every-Day Edits: Jim Henson's Muppets - Education World
Jim Henson's Muppets. Hand out this printable student work sheet with the uncorrected text for students to find errors of capitalization, punctuation, spelling, ......
Read more >
Fail Like Jim Henson - Puppet Nerd
If Henson had survived his brief illness, I imagine that he'd be more interested in new projects and new ideas then in guarding...
Read more >
BEP FINAL Flashcards - Quizlet
Henson praises his students often, usually saying to them, in a very sincere way, "good work!" and "nice job!" His use of praise...
Read more >
Fun with Water Part 2 - Jim Henson's Family Hub
Fun with Water week continues with all Fraggle-themed activities! Today we'll dance our cares away with Fraggle Rock, use a “magical stick” ...
Read more >
Puppet Makers Rise Up Against the Puppet Masters
As they push for unionization, craftspeople at The Jim Henson Company say they are treated as an underclass, subject to abuse.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found