Git Product home page Git Product logo

Comments (6)

mfissehaye avatar mfissehaye commented on May 1, 2024 4

I had to put @aar at the end of the dependency as follows

dependencies {
    compile 'com.google.android:flexbox:0.2.1@aar'
}

and sync gradle project before gradle could finish without errors. Thank you

from flexbox-layout.

thagikura avatar thagikura commented on May 1, 2024

Hi,

The library is hosted on jcenter at this moment.
If you don't have the jcenter repository dependency, please retry it after you add the following dependency to your top build.gradle file.
(It doesn't matter if you use Mac, Linux or Windows)

allprojects {
    repositories {
        jcenter()
    }
}

Or you can manually download the flexbox-0.2.1.aar from bintray directly.

from flexbox-layout.

thagikura avatar thagikura commented on May 1, 2024

Or I noticed the dependency in the issue title com.google.android.android:flexbox:0.2.1 is wrong.
please make sure you add as com.google.android:flexbox:0.2.1
(Remove the duplicate ".android")

from flexbox-layout.

mfissehaye avatar mfissehaye commented on May 1, 2024

@thagikura What do I do with the .aar file. Where do I put it? [And if you can, please explain what is the .aar file and what it adds to the sdk]

from flexbox-layout.

thagikura avatar thagikura commented on May 1, 2024

Sorry it's out of the scope of this project. There are lots of information about the aar file format and how to import it in the existing project in the internet. (like this one)

Please refer to other external sites.

from flexbox-layout.

thagikura avatar thagikura commented on May 1, 2024

Closing this. As I commented first, it's easier to download the library from jcenter than manually downloading the aar file.
Please reopne if you still have an issue in downloading the library from jcenter.

from flexbox-layout.

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.