Code Monkey home page Code Monkey logo

Comments (9)

ashokcs avatar ashokcs commented on June 25, 2024

Same issue as above.. please give us solution

from android-betterpickers.

graham-huck avatar graham-huck commented on June 25, 2024

Agreed. Really frustrating to get this implemented into a project because of it.

from android-betterpickers.

derekbrameyer avatar derekbrameyer commented on June 25, 2024

I will get to work on this issue soon. Not sure if I explicitly need version 18 of the jar for some reason or another.

In the meantime, I strongly suggest looking in to the Maven Android SDK Deployer to resolve issues now: https://github.com/mosabua/maven-android-sdk-deployer

Sure, the latest Maven Central version of support-v4 is r7, but even the latest version of Android itself is only 4.1.1.4. The SDK deployer solves this and allows for usage of more recent versions of Android and the support library.

from android-betterpickers.

schildbach avatar schildbach commented on June 25, 2024

The maven-android-sdk-deployer is not the right way to solve this imho. Artifacts on Maven Central are meant to be able to be build just using dependencies from Maven Central.

The right way would be to work on getting recent Android versions into Maven Central. Then recent support library version should go into Maven Central (I can volunteer for this part -- did this before). Finally, betterpickers can go in with the right dependencies.

from android-betterpickers.

derekbrameyer avatar derekbrameyer commented on June 25, 2024

Given that Google has seemingly dropped support for Maven dependencies and uploading them to Maven Central, I'm not sure how "we" (the Android dev community) can get the artifacts up there. You say you've uploaded the support library before? I was always under the impression that someone from the official Google team would need to do something like that.

from android-betterpickers.

schildbach avatar schildbach commented on June 25, 2024

No, the artifacts on Maven Central are not uploaded by Google.

from android-betterpickers.

kelchm avatar kelchm commented on June 25, 2024

Stupid question: why can't com.android.support:support-v4 be used instead of com.google.android:support-v4?

My understanding is that com.google.android:support-v4 is provided by Google while com.google.android:support-v4 is not.

Edit: okay, after digging into this further I'm guessing that com.android.support:support-v4 isn't on maven central, it's on Google's own repository (via the android-library plugin?). Still, surely there is some way to work around this.

from android-betterpickers.

derekbrameyer avatar derekbrameyer commented on June 25, 2024

The library now depends on com.android.support and is packaged as an .aar.

I tested this with a standalong Gradle project and was able to compile it fine, though I needed to add an exclusion if using the support library.

from android-betterpickers.

schildbach avatar schildbach commented on June 25, 2024

Great! Thanks for your work on this.

from android-betterpickers.

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.