Comments (6)
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.
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.
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.
@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.
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.
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)
- FlexboxLayoutManager ROW NOWRAP, child layout top is wrong when RecyclerView has horizontal padding
- multi type adapter scrolling laggy
- Flexbox layout manager not scrollable
- indexInFlexLine is not consistent in onNewFlexItemAdded() method
- Android Studio Integration
- Add gap attribute HOT 3
- Wrong placement
- FlexboxLayoutManager.computeScrollOffset(); It is wrong to be equal to 0 HOT 1
- [FE] page 분기처리
- RecycleView nests RecycleView, and the internal RecycleView uses FlexboxLayoutManager(context, FlexDirection.ROW, FlexWrap.WRAP), when the number of items is large, it cannot be displayed completely (for example, only 30 items are displayed for 50 items, and they are not displayed after exceeding one screen) HOT 4
- ComposeView in flexbox crashes, because it is not attached when measured
- FlexboxLayoutManager child item margin is wrong when flex-direction is column
- How can i use this library in jetpack compose HOT 2
- Flaxbaox layout
- Playground doesn't build in latest Android Studio Flamingo HOT 3
- FlexboxLayoutManager does not recycle views with Navgraph HOT 3
- Is there possible to set "needsToFill" not only mContext.getResources().getDisplayMetrics().heightPixels?
- java.lang.ArrayIndexOutOfBoundsException: length=10; index=-1 HOT 1
- FlexBoxLayoutManager with RecyclerView causes multiple items to refresh on calling notifyItemChanged
- First party support for Compose UI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flexbox-layout.