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

Required SQLiteDatabase, got DatabaseWrapper Error #12

Open
Dreamystify opened this issue Sep 13, 2016 · 0 comments
Open

Required SQLiteDatabase, got DatabaseWrapper Error #12

Dreamystify opened this issue Sep 13, 2016 · 0 comments

Comments

@Dreamystify
Copy link

The following code errors in the ApplicationModule.class

@Provides
@Singleton
public SQLiteDatabase  database() {
    return FlowManager.getDatabase(DemoDatabase.NAME).getWritableDatabase();
}

with 'Required SQLiteDatabase, got DatabaseWrapper

am I missing something?

Cheers

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

0 participants