AndroidX build failure: cannot access SupportSQLiteDatabase
See original GitHub issueMy project is using AndroidX.
android.enableJetifier=true
android.useAndroidX=true
All works fine with io.requery:sqlite-android:3.23.1
.
It breaks with 3.26.0
.
e: /path/to/my/project/TrackingCursorFactory.java:9: error: cannot access SupportSQLiteDatabase
public final class TrackingCursorFactory implements io.requery.android.database.sqlite.SQLiteDatabase.CursorFactory {
^
class file for androidx.sqlite.db.SupportSQLiteDatabase not found
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Gradle Error: '(androidx.sqlite.db.SupportSQLiteOpenHelper ...
I'm using the AssetSQLiteOpenHelper library on an Android application but when creating a new instance of the AssetSQLiteOpenHelperFactory ...
Read more >New version of SQLiteCipher? | B4X Programming Forum
<dependsOn>android-database-sqlcipher-4.4.3.aar</dependsOn> I can compile, but can't connect to SQLite with error:
Read more >SupportSQLiteOpenHelper - Android Developers
SupportSQLiteDatabase getWritableDatabase (). Create and/or open a database that will be used for reading and writing.
Read more >Android X: Persistent Storage With Room | by Mauricio Andrada
Room simplifies the development process by using Java Annotation Processing and Plain Old Java Objects to defined tables and databases; in other words,...
Read more >SQLCipher for Android Application Integration - Zetetic LLC
This new version of SQLCipher for Android provides major benefits including optimized support for concurrent database access, drastic performance ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Still a problem for me with 3.27.1 and 3.27.2. It only works if I explicitly include the
androidx.sqlite
dependency in my ownbuild.gradle
.Running a dependencies report shows that
io.requery:sqlite-android
does not provide any transitive dependencies. Theandroidx.sqlite
dependency is coming from my ownbuild.gradle
.GrahamBorland thanks this helped me.