-
Notifications
You must be signed in to change notification settings - Fork 607
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot Add Task #347
Comments
我也有同样的问题,加入:
后就会报此错误,我的环境:
目前没找到如何此问题的方案,希望可以解决告知一下此问题的解决方式 |
这么长时间过去了,大佬看到此问题了吗,若需要复现我这边可以提供环境 |
一样的问题 |
打开依赖传递后,所有相同的依赖项都只能保留一个,我这个工程androidx.core:core的依赖有25个地方出现,一个一个exclude太麻烦了,而且不仅只有androidx.core:core,还有很多module。求一个比较好的解决方案吧! |
If it is androidx.appcompat and you don't mind downgrade the dependency, you can downgrade it to 1.2.0 to solve that. This problem starts from 1.3.0. 如果是 androidx.appcompat 依赖,不介意降级依赖的话,降级到 1.2.0 可以解决,1.3.0 开始就会有这个问题。 embed 'androidx.appcompat:appcompat:1.2.0' |
When I try sync my Gradle I'm getting this error
Cannot add task 'explodeAndroidx.coreCoreDebug' as a task with that name already exists.
I see that a similar issue was posted earlier this year but there aren't any replies or suggestions.
Can someone please help.
Build Environment
The text was updated successfully, but these errors were encountered: