Gradle error
hongtou820 opened this issue · comments
ERROR: Unable to resolve dependency for ':app@mockDebug/compileClasspath': Failed to transform artifact 'appbarspring.aar (com.github.todou:appbarspring:1.0.9)' to match attributes {artifactType=jar}
Show Details
Affected Modules: app
ERROR: Unable to resolve dependency for ':app@mockDebugAndroidTest/compileClasspath': Failed to transform artifact 'appbarspring.aar (com.github.todou:appbarspring:1.0.9)' to match attributes {artifactType=jar}
Show Details
Affected Modules: app
ERROR: Unable to resolve dependency for ':app@mockDebugUnitTest/compileClasspath': Failed to transform artifact 'appbarspring.aar (com.github.todou:appbarspring:1.0.9)' to match attributes {artifactType=jar}
Show Details
Affected Modules: app
Same Problem is Here.
Have you found any solution for this @hongtou820 ??
Is this problem from the my repo?
Have you try this project. Or give me demo with the your local build properties.
My project is migrated to androidx, when I use 'com.github.todou:appbarspring:1.0.9' this dependency, it gives me same above error.
I think this is the conflicting issue of material library in androisx and support design library in your dependency........When I set "android.enableJetifier=false" and "android.useAndroidX=true", then the issue is resolved, but i need to set it "android.enableJetifier=true".
https://github.com/happyHou/mvvm_demo i hava also this problem,this this demo.pls
看了demo,不知道怎么解决
还没解决吗