ToDou / appbarlayout-spring-behavior

One Behavior help AppBarLayout to scroll spring
1.19k stars 163 forks source link

Gradle error #40

Open hongtou820 opened 5 years ago

hongtou820 commented 5 years ago

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

nauman-idrees commented 5 years ago

Same Problem is Here. Have you found any solution for this @hongtou820 ??

ToDou commented 5 years ago

Is this problem from the my repo? Have you try this project. Or give me demo with the your local build properties.

nauman-idrees commented 5 years ago

My project is migrated to androidx, when I use 'com.github.todou:appbarspring:1.0.9' this dependency, it gives me same above error.

nauman-idrees commented 5 years ago

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".

happyHou commented 5 years ago

https://github.com/happyHou/mvvm_demo i hava also this problem,this this demo.pls

AndMy commented 4 years ago

看了demo,不知道怎么解决

IdyllicFish commented 4 years ago

还没解决吗