Skip to content
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

Gradle error #40

Open
hongtou820 opened this issue Jun 21, 2019 · 7 comments
Open

Gradle error #40

hongtou820 opened this issue Jun 21, 2019 · 7 comments

Comments

@hongtou820
Copy link

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

@NaumanIdrees
Copy link

NaumanIdrees commented Jul 17, 2019

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

@ToDou
Copy link
Owner

ToDou commented Jul 18, 2019

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

@NaumanIdrees
Copy link

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

@NaumanIdrees
Copy link

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
Copy link

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

@AndMy
Copy link

AndMy commented Mar 13, 2020

看了demo,不知道怎么解决

@IdyllicFish
Copy link

还没解决吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants