Giter VIP home page Giter VIP logo

Comments (4)

taar1 avatar taar1 commented on June 2, 2024

I just tried it out but I still get this error:

ERROR: Unable to resolve dependency for ':app@googlePlayFlavorDebug/compileClasspath': Could not resolve com.android.support:support-v4:22.+.

from materialdesignlibrary.

Chenyang0324 avatar Chenyang0324 commented on June 2, 2024

@taar1
Check if there is any other place is referencing support library.
The app should be no longer referencing any support library if you are migrating to Android X.

from materialdesignlibrary.

taar1 avatar taar1 commented on June 2, 2024

I just did another test. I commented this out:
implementation 'com.github.Chenyang0324:MaterialDesignLibrary:1.10'

and I could build the app without error messages (well except the errors I get for not having the MaterialDesignLibrary in the project but references to it in the code).
As soon as I uncomment it and try to build it I get this error:

ERROR: Unable to resolve dependency for ':app@googlePlayFlavorDebug/compileClasspath': Could not resolve com.android.support:support-v4:22.+.
Show Details
Affected Modules: app

ERROR: Unable to resolve dependency for ':app@googlePlayFlavorDebugAndroidTest/compileClasspath': Could not resolve com.android.support:support-v4:22.+.
Show Details
Affected Modules: app

ERROR: Unable to resolve dependency for ':app@googlePlayFlavorDebugUnitTest/compileClasspath': Could not resolve com.android.support:support-v4:22.+.
Show Details
Affected Modules: app

from materialdesignlibrary.

taar1 avatar taar1 commented on June 2, 2024

I just looked at your fork and saw you still have a support-v4 dependency in there.

https://github.com/Chenyang0324/MaterialDesignLibrary/blob/master/MaterialDesignLibrary/MaterialDesign/build.gradle

dependencies {
compile 'com.nineoldandroids:library:2.4.+'
compile 'com.android.support:support-v4:22.+'
compile fileTree(dir: 'libs', include: '*.jar')
}

Could you remove that dependency and make a new version? I think after that it should build.

from materialdesignlibrary.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.