How to solve 'Program type already present: com.google.common.util.concurrent.ListenableFuture'?

后端 未结 4 1495
北荒
北荒 2020-12-05 06:14

I am trying to use WorkManager 1.0.0-alpha09. and getting this error:

Program type already present: 
com.google.common.util.concurrent.ListenableFuture

Mess         


        
4条回答
  •  庸人自扰
    2020-12-05 06:48

    Take a look at https://issuetracker.google.com/issues/116154359.

    The workaround is:

    implementation("android.arch.work:work-runtime:1.0.0-alpha09") {
        exclude group: 'com.google.guava', module: 'listenablefuture' 
    }
    

提交回复
热议问题