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

Hanson Dart and Library module #161

Open
MathiasSeguy-Android2EE opened this issue Jul 20, 2017 · 1 comment
Open

Hanson Dart and Library module #161

MathiasSeguy-Android2EE opened this issue Jul 20, 2017 · 1 comment

Comments

@MathiasSeguy-Android2EE

Hi
So we are using Henson and Dart and it's excellent. But at a point in my project I wanted to extract a part of the project inside a library (creating a new project, moving the code I want, in it, in it...).
Now I am in my lib project.
If I set apply plugin: 'com.android.library' I obtain:
...AboutActivity.java:152: error: cannot find symbol
Intent intent = Henson.with(BaseApplication.getInstance())
^
symbol: variable Henson
location: class AboutActivity
...TermsAndConditionActivity.java:63: error: cannot find symbol
Intent intent = Henson.with(BaseApplication.getInstance())
If I set apply plugin:'com.android.application'
It works fine.
I don't understand why but when building a library, Henson classes are not generated.
Any idea ?

@dlemures
Copy link
Collaborator

Hi @MathiasSeguy-Android2EE ,

We are developing a new version of the library that will support modularization.

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

2 participants