相关疑难解决方法(0)

如何解决已存在的程序类型:com.google.common.util.concurrent.ListenableFuture?

我正在尝试使用WorkManager 1.0.0-alpha09.我收到此错误:

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

Message{kind=ERROR, text=Program type already present: 
com.google.common.util.concurrent.ListenableFuture, sources=[Unknown source 
file], tool name=Optional.of(D8)}
Run Code Online (Sandbox Code Playgroud)

如果我使用版本1.0.0-alpha08或更少.我没有得到这个错误,但我需要公共构造函数

public Worker(Context context, WorkerParameters workerParams)
Run Code Online (Sandbox Code Playgroud)

java android guava android-workmanager

46
推荐指数
3
解决办法
1万
查看次数

标签 统计

android ×1

android-workmanager ×1

guava ×1

java ×1