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

MultiDexApplication ,do not generate greendao #818

Closed
SageLu opened this issue Jan 25, 2018 · 3 comments
Closed

MultiDexApplication ,do not generate greendao #818

SageLu opened this issue Jan 25, 2018 · 3 comments
Assignees

Comments

@SageLu
Copy link

SageLu commented Jan 25, 2018

compile 'org.greenrobot:greendao:3.2.2' // add library
default
default

what should I can do?

@greenrobot-team
Copy link
Collaborator

Are you sure there is a field named daoSession inside of your App class?

Check out an example.
-ut

@greenrobot-team greenrobot-team self-assigned this Jan 30, 2018
@SageLu
Copy link
Author

SageLu commented Feb 1, 2018

Then I recompiled the project . It's working. But I met a problem that GreenDAO dont support rxjava2 ,
what I should do ? how do it? thanks.
@greenrobot-team

@greenrobot-team
Copy link
Collaborator

You can currently not use greenDAO with RxJava 2, see #520.

I suggest you take a look at https://github.com/objectbox/objectbox-java or another solution if it is a requirement. -ut

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