You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ?
The text was updated successfully, but these errors were encountered:
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 ?
The text was updated successfully, but these errors were encountered: