Martin Zeitler
Martin Zeitler

Reputation: 76679

Missing class: androidx.paging.PositionalDataSource

When processing files with R8 it cannot find androidx.paging.PositionalDataSource:

> Task :minifyReleaseWithR8
AGPBI: {"kind":"warning","text":"Missing class: androidx.paging.PositionalDataSource","sources":[{}],"tool":"R8"}

How to mute this warning?

Upvotes: 0

Views: 1289

Answers (1)

Martin Zeitler
Martin Zeitler

Reputation: 76679

This comes from using Room without the Paging library:

implementation "androidx.paging:paging-common:3.0.0"
implementation "androidx.paging:paging-runtime:3.0.0"

While the same -dontwarn still works with R8:

-dontwarn androidx.paging.PositionalDataSource

Upvotes: 2

Related Questions