Android Room Persistence Library Proguard Configuration

后端 未结 1 1933
一个人的身影
一个人的身影 2021-01-03 00:34

I am using Android Room Persistence Library 1.0.0-alpha5. When compiling with ProGuard I am getting the following error.

Warning:android.arch.persistence.ro         


        
相关标签:
1条回答
  • 2021-01-03 01:31

    You can add the following lines in the proguard instead of keep

    -dontwarn android.arch.util.paging.CountedDataSource
    -dontwarn android.arch.persistence.room.paging.LimitOffsetDataSource
    
    0 讨论(0)
提交回复
热议问题